Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 46.84 kB / 325.6 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09429, allocations: 53.34 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005053/0.09935, allocations: 3.71 MB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.101, allocations: 0.923 MB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.1011, allocations: 15.94 kB / 383.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.1014, allocations: 95.06 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1017, allocations: 178.4 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1021, allocations: 167.7 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.1028, allocations: 0.6772 MB / 384.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.1031, allocations: 143.6 kB / 384.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.1034, allocations: 274.9 kB / 385.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1038, allocations: 254.6 kB / 385.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.1038, allocations: 56 kB / 385.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.104, allocations: 56 kB / 385.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1041, allocations: 135.5 kB / 385.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.1043, allocations: 250.8 kB / 385.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.105, allocations: 0.6574 MB / 386.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.105, allocations: 0 / 386.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.105, allocations: 0 / 386.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.105, allocations: 3.938 kB / 386.5 MB, free: 8.004 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001386/0.1064, allocations: 0.8047 MB / 387.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1065, allocations: 8.031 kB / 387.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1067, allocations: 84.5 kB / 387.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.1073, allocations: 326.1 kB / 387.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.1073, allocations: 37.38 kB / 387.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.1074, allocations: 56.33 kB / 387.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.1083, allocations: 0.619 MB / 388.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1083, allocations: 3.984 kB / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.1083, allocations: 20 kB / 388.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1083, allocations: 12 kB / 388.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.109, allocations: 340.4 kB / 388.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1115, allocations: 1.437 MB / 390.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.112, allocations: 252 kB / 390.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.1122, allocations: 137.6 kB / 390.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1122, allocations: 3.938 kB / 390.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1123, allocations: 38.56 kB / 390.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.1123, allocations: 0 / 390.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001803/0.1141, allocations: 0.8123 MB / 391.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1141, allocations: 89.03 kB / 391.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.1145, allocations: 381.5 kB / 391.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1146, allocations: 29.7 kB / 391.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1148, allocations: 300.1 kB / 392.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.1149, allocations: 119 kB / 392.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.115, allocations: 74.16 kB / 392.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1151, allocations: 350.7 kB / 392.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1154, allocations: 112.9 kB / 392.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.1156, allocations: 191.2 kB / 393.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.1161, allocations: 299.7 kB / 393.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1161, allocations: 11.88 kB / 393.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008238/0.117, allocations: 442.8 kB / 393.8 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.117, allocations: 8 kB / 393.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.117, allocations: 0 / 393.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.1173, allocations: 85.75 kB / 393.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.1176, allocations: 75.91 kB / 394 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.1203, allocations: 2.878 MB / 396.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.1205, allocations: 16.03 kB / 396.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.1206, allocations: 16 kB / 396.9 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.1208, allocations: 173.6 kB / 397 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.1209, allocations: 47.7 kB / 397.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.1209, allocations: 39.36 kB / 397.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1209, allocations: 8 kB / 397.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1209, allocations: 0 / 397.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1209, allocations: 4 kB / 397.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.1223, allocations: 0.7918 MB / 397.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1223, allocations: 0 / 397.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1225, allocations: 39.98 kB / 398 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.1227, allocations: 89.53 kB / 398.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1228, allocations: 16.11 kB / 398.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.1253, allocations: 2.867 MB / 400.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1253, allocations: 0 / 400.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/0.1262, allocations: 0.6109 MB / 401.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.1263, allocations: 39.73 kB / 401.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.1263, allocations: 8.188 kB / 401.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1267, allocations: 31.98 kB / 401.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.1268, allocations: 23.94 kB / 401.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1268, allocations: 12 kB / 401.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.1271, allocations: 263.2 kB / 401.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1271, allocations: 4 kB / 401.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.1277, allocations: 116 kB / 402 MB, free: 7.566 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.1278, allocations: 114.4 kB / 402.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.1287, allocations: 0.5015 MB / 402.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1287, allocations: 0 / 402.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.1293, allocations: 377.2 kB / 403 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1298, allocations: 56.8 kB / 403.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1314, allocations: 0.9627 MB / 404 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1317, allocations: 238.2 kB / 404.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1318, allocations: 43.27 kB / 404.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.1319, allocations: 28.5 kB / 404.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1319, allocations: 0 / 404.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of Templates: time 0.009945/0.1419, allocations: 4.459 MB / 408.8 MB, free: 0.7461 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.08701772603672]