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.001682/0.001682, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001442/0.001442, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001818/0.001818, allocations: 60.08 kB / 378.8 MB, free: 2.727 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2642, allocations: 53.38 MB / 432.2 MB, free: 7.008 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006444/0.2706, allocations: 4.135 MB / 436.3 MB, free: 2.859 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00277/0.2734, allocations: 0.9735 MB / 437.3 MB, free: 1.879 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.2738, allocations: 11.94 kB / 437.3 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.2742, allocations: 95.06 kB / 437.4 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.2748, allocations: 186.4 kB / 437.6 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.2754, allocations: 167.7 kB / 437.7 MB, free: 1.426 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001018/0.2764, allocations: 0.6655 MB / 438.4 MB, free: 0.7578 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.2767, allocations: 143.7 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.2772, allocations: 278.9 kB / 438.8 MB, free: 344 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.2777, allocations: 290.6 kB / 439.1 MB, free: 52 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2778, allocations: 59.98 kB / 439.2 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.278, allocations: 60 kB / 439.2 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2782, allocations: 135.4 kB / 439.4 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.2786, allocations: 302.5 kB / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009408/0.2795, allocations: 0.6512 MB / 440.3 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2795, allocations: 0 / 440.3 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.753e-06/0.2795, allocations: 3.938 kB / 440.3 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.929e-06/0.2795, allocations: 0 / 440.3 MB, free: 14.85 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.002069/0.2816, allocations: 0.8086 MB / 441.1 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2816, allocations: 12.03 kB / 441.1 MB, free: 14 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004234/0.2821, allocations: 84.5 kB / 441.2 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.2829, allocations: 326.1 kB / 441.5 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.2829, allocations: 33.38 kB / 441.6 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.283, allocations: 52.33 kB / 441.6 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.2842, allocations: 479.6 kB / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2843, allocations: 4 kB / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.2843, allocations: 20 kB / 442.1 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.2844, allocations: 12 kB / 442.1 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.2853, allocations: 336.4 kB / 442.4 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.2892, allocations: 1.634 MB / 444.1 MB, free: 10.92 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.2898, allocations: 245.1 kB / 444.3 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.2902, allocations: 137.2 kB / 444.4 MB, free: 10.53 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2902, allocations: 4 kB / 444.5 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.2903, allocations: 38.5 kB / 444.5 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.2903, allocations: 4 kB / 444.5 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002654/0.2929, allocations: 0.8082 MB / 445.3 MB, free: 9.625 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.293, allocations: 81.11 kB / 445.4 MB, free: 9.527 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.2936, allocations: 397.6 kB / 445.8 MB, free: 9.129 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.2937, allocations: 29.7 kB / 445.8 MB, free: 9.094 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.294, allocations: 300.1 kB / 446.1 MB, free: 8.797 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2941, allocations: 111.1 kB / 446.2 MB, free: 8.688 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.2943, allocations: 78.08 kB / 446.3 MB, free: 8.605 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002158/0.2945, allocations: 354.7 kB / 446.6 MB, free: 8.25 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.2948, allocations: 100.8 kB / 446.7 MB, free: 8.148 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.2952, allocations: 198.5 kB / 446.9 MB, free: 7.922 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.2959, allocations: 308.5 kB / 447.2 MB, free: 7.59 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2959, allocations: 0 / 447.2 MB, free: 7.59 MB / 350.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.001207/0.2971, allocations: 446.6 kB / 447.7 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2972, allocations: 6.344 kB / 447.7 MB, free: 7.137 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2972, allocations: 7.938 kB / 447.7 MB, free: 7.129 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.2976, allocations: 85.84 kB / 447.8 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.2981, allocations: 79.89 kB / 447.8 MB, free: 6.961 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.3016, allocations: 2.924 MB / 450.8 MB, free: 3.809 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.3021, allocations: 31.97 kB / 450.8 MB, free: 3.777 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.3021, allocations: 12 kB / 450.8 MB, free: 3.766 MB / 350.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.0003072/0.3024, allocations: 157.8 kB / 450.9 MB, free: 3.602 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3026, allocations: 47.7 kB / 451 MB, free: 3.555 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3027, allocations: 47.39 kB / 451 MB, free: 3.508 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3027, allocations: 4 kB / 451 MB, free: 3.504 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.3027, allocations: 7.938 kB / 451.1 MB, free: 3.496 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3027, allocations: 4 kB / 451.1 MB, free: 3.492 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3047, allocations: 0.9004 MB / 452 MB, free: 2.535 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3047, allocations: 4.188 kB / 452 MB, free: 2.531 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.305, allocations: 43.98 kB / 452 MB, free: 2.488 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.3054, allocations: 81.58 kB / 452.1 MB, free: 2.402 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3054, allocations: 11.98 kB / 452.1 MB, free: 2.391 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.3089, allocations: 2.94 MB / 455 MB, free: 15.22 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3089, allocations: 0 / 455 MB, free: 15.22 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3102, allocations: 0.603 MB / 455.6 MB, free: 14.59 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3103, allocations: 39.73 kB / 455.7 MB, free: 14.55 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.3103, allocations: 11.94 kB / 455.7 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.3109, allocations: 31.97 kB / 455.7 MB, free: 14.51 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.311, allocations: 23.95 kB / 455.7 MB, free: 14.49 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.311, allocations: 8 kB / 455.8 MB, free: 14.48 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0004726/0.3115, allocations: 279.2 kB / 456 MB, free: 14.21 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3115, allocations: 0 / 456 MB, free: 14.21 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0009468/0.3124, allocations: 116 kB / 456.1 MB, free: 14.1 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.0001826/0.3126, allocations: 107.7 kB / 456.2 MB, free: 13.99 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001125/0.3137, allocations: 0.5039 MB / 456.7 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3137, allocations: 0 / 456.7 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.3144, allocations: 377.7 kB / 457.1 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3149, allocations: 63.7 kB / 457.2 MB, free: 13 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3167, allocations: 0.9849 MB / 458.2 MB, free: 12 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3171, allocations: 0.8353 MB / 459 MB, free: 11.13 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.000165/0.3173, allocations: 47.28 kB / 459 MB, free: 11.08 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.3174, allocations: 31.44 kB / 459.1 MB, free: 11.05 MB / 366.1 MB
Notification: Performance of SimCode: time 9.52e-07/0.3174, allocations: 0 / 459.1 MB, free: 11.05 MB / 366.1 MB
Notification: Performance of Templates: time 0.01071/0.3281, allocations: 5.002 MB / 464.1 MB, free: 6.086 MB / 366.1 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=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.008740074001253]