Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 160.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9902/0.9902, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.433e-05, allocations: 7.75 kB / 274.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005309/0.005334, allocations: 4.006 MB / 278.2 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.00758, allocations: 0.9428 MB / 279.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.007908, allocations: 11.94 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.008177, allocations: 97.53 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.008685, allocations: 194.3 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.0092, allocations: 163.6 kB / 279.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.01008, allocations: 0.7002 MB / 280.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.01039, allocations: 135.7 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.0111, allocations: 407 kB / 280.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.01145, allocations: 215.3 kB / 281 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.01154, allocations: 56 kB / 281.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.01167, allocations: 64 kB / 281.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.01177, allocations: 131.4 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.012, allocations: 219.4 kB / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.01256, allocations: 434.4 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01256, allocations: 0 / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01256, allocations: 3.938 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01257, allocations: 0 / 281.9 MB, free: 12.48 MB / 266.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.001308/0.01388, allocations: 0.9162 MB / 282.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01392, allocations: 12.03 kB / 282.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.01423, allocations: 112.5 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.01471, allocations: 320.1 kB / 283.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.01475, allocations: 37.38 kB / 283.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.01483, allocations: 52.38 kB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.01548, allocations: 0.5148 MB / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.0155, allocations: 192 / 283.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.01554, allocations: 20.38 kB / 283.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.01556, allocations: 15.94 kB / 283.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.01585, allocations: 143.9 kB / 284 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.01811, allocations: 1.524 MB / 285.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.01844, allocations: 210 kB / 285.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01857, allocations: 91.31 kB / 285.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.01859, allocations: 8 kB / 285.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.01862, allocations: 41.58 kB / 285.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.01862, allocations: 0 / 285.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001689/0.02031, allocations: 0.5372 MB / 286.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.02036, allocations: 81.11 kB / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.02071, allocations: 394.4 kB / 286.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.02074, allocations: 33.7 kB / 286.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.02094, allocations: 342.8 kB / 287.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.02104, allocations: 123 kB / 287.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.02116, allocations: 79.78 kB / 287.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.02133, allocations: 0.5195 MB / 288 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.02143, allocations: 40.95 kB / 288 MB, free: 6.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.0216, allocations: 181 kB / 288.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.02188, allocations: 237.2 kB / 288.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02188, allocations: 0 / 288.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000586/0.02247, allocations: 338.9 kB / 288.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.02249, allocations: 14.69 kB / 288.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.0225, allocations: 4 kB / 288.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.02296, allocations: 107.6 kB / 288.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.02323, allocations: 79.91 kB / 288.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.02558, allocations: 3.805 MB / 292.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.02582, allocations: 23.88 kB / 292.8 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.02584, allocations: 12 kB / 292.8 MB, free: 0.8789 MB / 266.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.0001727/0.02601, allocations: 180.5 kB / 293 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.02612, allocations: 51.77 kB / 293 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.02617, allocations: 47.23 kB / 293.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.02618, allocations: 4 kB / 293.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.02619, allocations: 4.062 kB / 293.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02619, allocations: 3.984 kB / 293.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.02725, allocations: 0.7346 MB / 293.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02726, allocations: 0 / 293.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.02741, allocations: 47.92 kB / 293.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.02783, allocations: 103.2 kB / 294 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.02785, allocations: 8 kB / 294 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.03004, allocations: 3.805 MB / 297.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.03004, allocations: 12.09 kB / 297.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.03066, allocations: 0.5658 MB / 298.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.03074, allocations: 39.69 kB / 298.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.03078, allocations: 12.12 kB / 298.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.03106, allocations: 31.98 kB / 298.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.03113, allocations: 27.95 kB / 298.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.03115, allocations: 7.984 kB / 298.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002155/0.03136, allocations: 263 kB / 298.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03136, allocations: 0 / 298.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006697/0.03203, allocations: 116 kB / 298.8 MB, free: 10.52 MB / 282.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.0001639/0.0322, allocations: 111.1 kB / 298.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.0329, allocations: 0.5256 MB / 299.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.0329, allocations: 0 / 299.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.03334, allocations: 467.1 kB / 299.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.03387, allocations: 57.78 kB / 300 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.03563, allocations: 0.8803 MB / 300.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.03573, allocations: 113.9 kB / 301 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.0359, allocations: 43.25 kB / 301 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.03614, allocations: 150.2 kB / 301.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03614, allocations: 0 / 301.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of Templates: time 0.01087/0.047, allocations: 4.95 MB / 306.1 MB, free: 3.188 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1992975268512964]