Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 252.5 MB, free: 12.97 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 371 MB, free: 9.273 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2921, allocations: 52.18 MB / 423.2 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006854/0.2989, allocations: 4.126 MB / 427.3 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00242/0.3014, allocations: 0.8839 MB / 428.2 MB, free: 9.609 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.3018, allocations: 8 kB / 428.2 MB, free: 9.602 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.3022, allocations: 91.08 kB / 428.3 MB, free: 9.512 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.3027, allocations: 194.4 kB / 428.5 MB, free: 9.32 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3032, allocations: 143.8 kB / 428.6 MB, free: 9.18 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009275/0.3041, allocations: 0.6654 MB / 429.3 MB, free: 8.512 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.3045, allocations: 147.7 kB / 429.4 MB, free: 8.359 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.3049, allocations: 270.9 kB / 429.7 MB, free: 8.094 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.3052, allocations: 290.6 kB / 429.9 MB, free: 7.809 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.3053, allocations: 56 kB / 430 MB, free: 7.754 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3054, allocations: 52 kB / 430.1 MB, free: 7.703 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3056, allocations: 131.5 kB / 430.2 MB, free: 7.574 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.306, allocations: 298.5 kB / 430.5 MB, free: 7.281 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.3068, allocations: 0.6469 MB / 431.1 MB, free: 6.637 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3068, allocations: 4 kB / 431.1 MB, free: 6.633 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.793e-06/0.3068, allocations: 0 / 431.1 MB, free: 6.633 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.156e-05/0.3068, allocations: 0 / 431.1 MB, free: 6.633 MB / 334.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.001725/0.3085, allocations: 0.7969 MB / 431.9 MB, free: 5.805 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3086, allocations: 12.03 kB / 431.9 MB, free: 5.793 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3087, allocations: 68.52 kB / 432 MB, free: 5.727 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.3094, allocations: 314.1 kB / 432.3 MB, free: 5.395 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.3094, allocations: 37.38 kB / 432.3 MB, free: 5.355 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/0.3095, allocations: 52.31 kB / 432.4 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.3104, allocations: 479.6 kB / 432.9 MB, free: 4.82 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3105, allocations: 4 kB / 432.9 MB, free: 4.816 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.3105, allocations: 20 kB / 432.9 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3105, allocations: 12 kB / 432.9 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.3112, allocations: 336.4 kB / 433.2 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.3145, allocations: 1.63 MB / 434.9 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.3151, allocations: 253.1 kB / 435.1 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.3154, allocations: 132.9 kB / 435.2 MB, free: 2.332 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/0.3154, allocations: 7.984 kB / 435.2 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.3155, allocations: 46.44 kB / 435.3 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=31): time 3.867e-06/0.3155, allocations: 0 / 435.3 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32): time 0.00228/0.3177, allocations: 0.8007 MB / 436.1 MB, free: 1.43 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.3178, allocations: 93 kB / 436.2 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.3184, allocations: 381.7 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.3184, allocations: 33.7 kB / 436.6 MB, free: 0.9023 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3187, allocations: 296 kB / 436.9 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3188, allocations: 119 kB / 437 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3189, allocations: 74.09 kB / 437.1 MB, free: 424 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003194/0.3192, allocations: 354.7 kB / 437.4 MB, free: 60 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.3195, allocations: 96.83 kB / 437.5 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.3198, allocations: 198.6 kB / 437.7 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3204, allocations: 305.3 kB / 438 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3204, allocations: 0 / 438 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.001025/0.3214, allocations: 449.4 kB / 438.4 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3215, allocations: 8 kB / 438.4 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3215, allocations: 4 kB / 438.4 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.3219, allocations: 85.72 kB / 438.5 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.3222, allocations: 79.83 kB / 438.6 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3253, allocations: 2.921 MB / 441.5 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.3257, allocations: 27.94 kB / 441.6 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.3257, allocations: 16 kB / 441.6 MB, free: 11.58 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.0002537/0.326, allocations: 165.8 kB / 441.7 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3261, allocations: 43.72 kB / 441.8 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.3262, allocations: 47.41 kB / 441.8 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3262, allocations: 4 kB / 441.8 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3262, allocations: 3.938 kB / 441.8 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3262, allocations: 3.984 kB / 441.8 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3278, allocations: 0.9005 MB / 442.7 MB, free: 10.35 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3278, allocations: 0 / 442.7 MB, free: 10.35 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.328, allocations: 47.97 kB / 442.8 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.3283, allocations: 85.59 kB / 442.9 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3283, allocations: 11.92 kB / 442.9 MB, free: 10.2 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.3312, allocations: 2.924 MB / 445.8 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3312, allocations: 4.031 kB / 445.8 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3324, allocations: 0.6099 MB / 446.4 MB, free: 6.406 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3325, allocations: 43.69 kB / 446.5 MB, free: 6.363 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.3326, allocations: 11.94 kB / 446.5 MB, free: 6.352 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3329, allocations: 35.97 kB / 446.5 MB, free: 6.316 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.333, allocations: 23.95 kB / 446.5 MB, free: 6.293 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.333, allocations: 8 kB / 446.5 MB, free: 6.285 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003733/0.3334, allocations: 275.2 kB / 446.8 MB, free: 6.023 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3334, allocations: 0 / 446.8 MB, free: 6.023 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0006652/0.3341, allocations: 116 kB / 446.9 MB, free: 5.91 MB / 350.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.000172/0.3343, allocations: 107.2 kB / 447 MB, free: 5.797 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001188/0.3354, allocations: 0.498 MB / 447.5 MB, free: 5.273 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3355, allocations: 0 / 447.5 MB, free: 5.273 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.3361, allocations: 379 kB / 447.9 MB, free: 4.879 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.3367, allocations: 61.73 kB / 448 MB, free: 4.816 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3387, allocations: 0.9713 MB / 448.9 MB, free: 3.82 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.3393, allocations: 0.8432 MB / 449.8 MB, free: 2.949 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002032/0.3395, allocations: 35.31 kB / 449.8 MB, free: 2.91 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.3396, allocations: 35.42 kB / 449.8 MB, free: 2.875 MB / 350.1 MB
Notification: Performance of SimCode: time 1.223e-06/0.3396, allocations: 4 kB / 449.8 MB, free: 2.871 MB / 350.1 MB
Notification: Performance of Templates: time 0.01186/0.3515, allocations: 5.004 MB / 454.8 MB, free: 13.91 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.135512480512261]