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.001736/0.001736, allocations: 123 kB / 17.79 MB, free: 5.266 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.001941/0.001941, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.622/1.622, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.001587/0.001587, allocations: 47.92 kB / 373.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09949, allocations: 53.33 MB / 426.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005729/0.1052, allocations: 4.122 MB / 431 MB, free: 96 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.242/0.3472, allocations: 0.9533 MB / 431.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.3476, allocations: 10.69 kB / 431.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3478, allocations: 91.98 kB / 432 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.3483, allocations: 197.5 kB / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.3489, allocations: 151.7 kB / 432.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.3498, allocations: 0.6796 MB / 433 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.3501, allocations: 149.5 kB / 433.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.3507, allocations: 275.6 kB / 433.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.3511, allocations: 287 kB / 433.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3512, allocations: 54.69 kB / 433.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3514, allocations: 58.16 kB / 433.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3515, allocations: 133.5 kB / 434 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.3518, allocations: 308.5 kB / 434.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.3527, allocations: 0.6471 MB / 434.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3527, allocations: 4.625 kB / 434.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3527, allocations: 0 / 434.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3527, allocations: 0 / 434.9 MB, free: 7.516 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.001577/0.3543, allocations: 0.8846 MB / 435.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3543, allocations: 8.969 kB / 435.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.3547, allocations: 86.47 kB / 435.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.3553, allocations: 375.2 kB / 436.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.3553, allocations: 40.62 kB / 436.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.3554, allocations: 51.14 kB / 436.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/0.3563, allocations: 492.4 kB / 436.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3564, allocations: 3.938 kB / 436.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.3564, allocations: 21.38 kB / 436.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.3564, allocations: 15.48 kB / 436.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.3571, allocations: 325.6 kB / 437.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.36, allocations: 1.691 MB / 438.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.3605, allocations: 247.8 kB / 439.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.3607, allocations: 131.9 kB / 439.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3608, allocations: 4.719 kB / 439.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3608, allocations: 41.25 kB / 439.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.3608, allocations: 1.156 kB / 439.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002195/0.363, allocations: 0.9654 MB / 440.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.363, allocations: 85.19 kB / 440.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.3636, allocations: 390.3 kB / 440.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3636, allocations: 36.08 kB / 440.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3638, allocations: 289.2 kB / 441.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.3639, allocations: 118.9 kB / 441.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.364, allocations: 79.69 kB / 441.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.3641, allocations: 352.2 kB / 441.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3644, allocations: 100.5 kB / 441.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.3646, allocations: 200.5 kB / 441.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.3651, allocations: 303.9 kB / 442.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3651, allocations: 1.5 kB / 442.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009679/0.3661, allocations: 449.5 kB / 442.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3661, allocations: 6.25 kB / 442.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3661, allocations: 3.281 kB / 442.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.3666, allocations: 82.28 kB / 442.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3669, allocations: 74.73 kB / 442.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.3692, allocations: 3.128 MB / 445.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.3696, allocations: 26.67 kB / 445.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.3697, allocations: 17.77 kB / 446 MB, free: 15.65 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.000294/0.37, allocations: 163.9 kB / 446.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3701, allocations: 45.27 kB / 446.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3702, allocations: 46.53 kB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3702, allocations: 2.844 kB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3702, allocations: 14.53 kB / 446.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3702, allocations: 2 kB / 446.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.372, allocations: 0.9334 MB / 447.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.372, allocations: 0 / 447.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3722, allocations: 53.83 kB / 447.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003294/0.3725, allocations: 78.62 kB / 447.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3726, allocations: 7.375 kB / 447.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.3756, allocations: 3.133 MB / 450.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3756, allocations: 1.844 kB / 450.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3768, allocations: 0.6123 MB / 451 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.377, allocations: 119.8 kB / 451.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.3771, allocations: 10.59 kB / 451.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.3775, allocations: 28.56 kB / 451.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.3776, allocations: 34.75 kB / 451.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3776, allocations: 11.7 kB / 451.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.378, allocations: 273.3 kB / 451.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.378, allocations: 0 / 451.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000716/0.3787, allocations: 116.8 kB / 451.6 MB, free: 11.05 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.0001596/0.3789, allocations: 108.6 kB / 451.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.38, allocations: 0.4931 MB / 452.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.38, allocations: 0 / 452.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.3807, allocations: 392.3 kB / 452.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.3812, allocations: 57.62 kB / 452.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3833, allocations: 0.9736 MB / 453.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.3838, allocations: 0.8371 MB / 454.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.384, allocations: 48.67 kB / 454.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3841, allocations: 30.19 kB / 454.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3841, allocations: 0 / 454.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of Templates: time 0.01192/0.3961, allocations: 4.819 MB / 459.4 MB, free: 8.062 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 -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/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.521753761917353]