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.002518/0.002518, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003065/0.003065, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.532e-06/1.532e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.141e-05/4.294e-05, allocations: 2.312 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.007279/0.007322, allocations: 4.019 MB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.009773, allocations: 0.9423 MB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.01027, allocations: 8 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.01064, allocations: 95.02 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.01131, allocations: 202.2 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.01182, allocations: 155.8 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.01285, allocations: 0.7001 MB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.0132, allocations: 143.7 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.01391, allocations: 395.1 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.01428, allocations: 219.3 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.01439, allocations: 59.94 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.01454, allocations: 59.94 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01468, allocations: 131.4 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.01498, allocations: 219.5 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.01585, allocations: 0.6618 MB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01585, allocations: 0 / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01585, allocations: 0 / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.01586, allocations: 4 kB / 280.3 MB, free: 9.781 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.001706/0.01756, allocations: 0.9355 MB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.0176, allocations: 16.03 kB / 281.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.01798, allocations: 116.5 kB / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.01854, allocations: 332.1 kB / 281.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.01859, allocations: 37.38 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.01869, allocations: 56.31 kB / 281.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.01972, allocations: 0.6314 MB / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01974, allocations: 4.188 kB / 282.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.01979, allocations: 20.38 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.01981, allocations: 15.94 kB / 282.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.02051, allocations: 320.4 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.0236, allocations: 1.731 MB / 284.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.02415, allocations: 265.4 kB / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.02441, allocations: 143.2 kB / 284.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.02445, allocations: 8 kB / 284.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.02449, allocations: 37.39 kB / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.02449, allocations: 0 / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002054/0.02654, allocations: 0.8277 MB / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.02661, allocations: 89.05 kB / 285.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.02721, allocations: 478.6 kB / 286.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.02724, allocations: 29.7 kB / 286.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.02755, allocations: 366.8 kB / 286.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.02767, allocations: 119 kB / 286.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.02781, allocations: 87.8 kB / 286.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/0.02814, allocations: 0.5313 MB / 287.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.02837, allocations: 96.95 kB / 287.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.02872, allocations: 229.2 kB / 287.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.0293, allocations: 350.2 kB / 288.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0293, allocations: 0 / 288.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009425/0.03024, allocations: 468.3 kB / 288.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.03026, allocations: 8 kB / 288.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.03026, allocations: 0 / 288.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.03093, allocations: 119.5 kB / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.03125, allocations: 79.84 kB / 288.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.03506, allocations: 4.01 MB / 292.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.03536, allocations: 11.94 kB / 292.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.03539, allocations: 20.16 kB / 292.8 MB, free: 12.55 MB / 282.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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.03568, allocations: 216.4 kB / 293 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.03579, allocations: 51.72 kB / 293.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.03588, allocations: 47.3 kB / 293.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.03589, allocations: 4 kB / 293.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.03589, allocations: 0 / 293.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.0359, allocations: 0 / 293.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.0377, allocations: 0.9642 MB / 294.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.0377, allocations: 0 / 294.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.0379, allocations: 43.97 kB / 294.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000643/0.03855, allocations: 119.2 kB / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.03857, allocations: 8 kB / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.0423, allocations: 4.011 MB / 298.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.04231, allocations: 3.984 kB / 298.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.04345, allocations: 0.7103 MB / 299 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.04355, allocations: 47.62 kB / 299 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.0436, allocations: 8 kB / 299.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.04395, allocations: 27.98 kB / 299.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.04403, allocations: 31.94 kB / 299.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.04405, allocations: 11.94 kB / 299.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004109/0.04447, allocations: 323.1 kB / 299.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04447, allocations: 0 / 299.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006465/0.04511, allocations: 116 kB / 299.6 MB, free: 5.5 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.0001752/0.04529, allocations: 111.4 kB / 299.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.04644, allocations: 0.6272 MB / 300.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.04644, allocations: 4 kB / 300.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.04719, allocations: 495.2 kB / 300.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.04772, allocations: 64.38 kB / 300.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.04955, allocations: 0.9078 MB / 301.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.04982, allocations: 234.2 kB / 302 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.04998, allocations: 47.25 kB / 302 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.308e-05/0.05007, allocations: 28.5 kB / 302 MB, free: 2.855 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.05007, allocations: 4 kB / 302.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Templates: time 0.1196/0.1697, allocations: 4.521 MB / 306.6 MB, free: 40.01 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/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.073484541033395]