Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001149/0.001149, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001209/0.001209, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9939/0.9939, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.215e-05, allocations: 2.312 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004205/0.004237, allocations: 3.981 MB / 255.6 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.006229, allocations: 0.9428 MB / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.006521, allocations: 8 kB / 256.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.006721, allocations: 95.06 kB / 256.6 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.007072, allocations: 198.2 kB / 256.8 MB, free: 1.941 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.007397, allocations: 139.7 kB / 257 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.007923, allocations: 0.704 MB / 257.7 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.008152, allocations: 136.4 kB / 257.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.008537, allocations: 395.1 kB / 258.2 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.008756, allocations: 215.3 kB / 258.4 MB, free: 364 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.008815, allocations: 60 kB / 258.4 MB, free: 304 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.00887, allocations: 52 kB / 258.5 MB, free: 252 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.008938, allocations: 139.4 kB / 258.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.009091, allocations: 215.4 kB / 258.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.009425, allocations: 442.3 kB / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009427, allocations: 0 / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.009428, allocations: 0 / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.009435, allocations: 0 / 259.3 MB, free: 15.46 MB / 250.7 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.000776/0.01021, allocations: 0.776 MB / 260 MB, free: 14.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01024, allocations: 15.98 kB / 260.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.01033, allocations: 80.88 kB / 260.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.01059, allocations: 245.5 kB / 260.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01061, allocations: 37.38 kB / 260.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.01066, allocations: 52.38 kB / 260.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.01105, allocations: 0.5143 MB / 261 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01107, allocations: 192 / 261 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.01109, allocations: 28.36 kB / 261 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.01111, allocations: 19.92 kB / 261 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.01125, allocations: 120 kB / 261.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.0125, allocations: 1.22 MB / 262.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.0127, allocations: 196.8 kB / 262.6 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.01276, allocations: 69.69 kB / 262.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.01278, allocations: 12.3 kB / 262.6 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.0128, allocations: 38.56 kB / 262.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.01281, allocations: 0 / 262.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007548/0.01356, allocations: 489.5 kB / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.0136, allocations: 85.05 kB / 263.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01379, allocations: 323.3 kB / 263.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01381, allocations: 33.7 kB / 263.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01392, allocations: 264.7 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.01398, allocations: 119 kB / 264 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.01406, allocations: 74.12 kB / 264 MB, free: 10.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.01415, allocations: 350.7 kB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.01419, allocations: 32.98 kB / 264.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.01428, allocations: 131.2 kB / 264.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01445, allocations: 205.9 kB / 264.7 MB, free: 9.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01445, allocations: 4 kB / 264.7 MB, free: 9.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003052/0.01475, allocations: 266.8 kB / 265 MB, free: 9.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01477, allocations: 4 kB / 265 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01477, allocations: 4 kB / 265 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.01507, allocations: 101.9 kB / 265.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.01525, allocations: 91.83 kB / 265.2 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.01677, allocations: 2.604 MB / 267.8 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.01691, allocations: 23.95 kB / 267.8 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01692, allocations: 15.94 kB / 267.8 MB, free: 6.336 MB / 250.7 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.01703, allocations: 133.7 kB / 268 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.01709, allocations: 39.95 kB / 268 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01712, allocations: 39.27 kB / 268.1 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01713, allocations: 4 kB / 268.1 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.01714, allocations: 8 kB / 268.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01714, allocations: 0 / 268.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.01775, allocations: 0.5658 MB / 268.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01775, allocations: 0 / 268.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.01786, allocations: 47.97 kB / 268.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.0181, allocations: 105.5 kB / 268.8 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01812, allocations: 11.94 kB / 268.8 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.01941, allocations: 2.608 MB / 271.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01941, allocations: 3.984 kB / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.01975, allocations: 420.8 kB / 271.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.01979, allocations: 35.7 kB / 271.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.01982, allocations: 11.94 kB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.01996, allocations: 28.02 kB / 271.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.02002, allocations: 27.94 kB / 271.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.02003, allocations: 4 kB / 271.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.02013, allocations: 140.7 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02013, allocations: 0 / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.02045, allocations: 116 kB / 272.2 MB, free: 1.762 MB / 250.7 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.0001002/0.02055, allocations: 96.23 kB / 272.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.02096, allocations: 412.7 kB / 272.7 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.02097, allocations: 4 kB / 272.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.02122, allocations: 349.6 kB / 273 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.02147, allocations: 65.47 kB / 273.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.0226, allocations: 0.8249 MB / 273.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.02268, allocations: 129.7 kB / 274 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.02279, allocations: 39.27 kB / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.02293, allocations: 119.3 kB / 274.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02293, allocations: 4 kB / 274.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Templates: time 0.007287/0.03022, allocations: 4.733 MB / 278.9 MB, free: 10.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.104132090229541]