Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001474/0.001474, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001435/0.001435, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 60.27 kB / 347.7 MB, free: 9.617 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4156, allocations: 49.15 MB / 396.8 MB, free: 9.723 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005681/0.4213, allocations: 4.056 MB / 400.9 MB, free: 6.82 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001983/0.4233, allocations: 0.9286 MB / 401.8 MB, free: 6.137 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.4235, allocations: 7.906 kB / 401.8 MB, free: 6.137 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000274/0.4238, allocations: 93.02 kB / 401.9 MB, free: 6.082 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.4241, allocations: 189.3 kB / 402.1 MB, free: 5.945 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.4245, allocations: 136.8 kB / 402.2 MB, free: 5.871 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007028/0.4252, allocations: 0.6838 MB / 402.9 MB, free: 5.52 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.4255, allocations: 148.9 kB / 403.1 MB, free: 5.434 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.4259, allocations: 262.1 kB / 403.3 MB, free: 5.312 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.4262, allocations: 291.1 kB / 403.6 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.4263, allocations: 55.59 kB / 403.7 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4264, allocations: 54.94 kB / 403.7 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.4265, allocations: 130.2 kB / 403.9 MB, free: 5.074 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.4268, allocations: 308.1 kB / 404.2 MB, free: 4.891 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.4276, allocations: 0.6403 MB / 404.8 MB, free: 4.633 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4276, allocations: 0 / 404.8 MB, free: 4.633 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.004e-06/0.4276, allocations: 0 / 404.8 MB, free: 4.633 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.819e-05/0.4276, allocations: 5.031 kB / 404.8 MB, free: 4.629 MB / 318.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.001594/0.4292, allocations: 0.8049 MB / 405.6 MB, free: 4.074 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4292, allocations: 14.14 kB / 405.6 MB, free: 4.07 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.4294, allocations: 65.19 kB / 405.7 MB, free: 4.039 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.4299, allocations: 308.1 kB / 406 MB, free: 3.805 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.43, allocations: 41.66 kB / 406 MB, free: 3.785 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.4301, allocations: 52.25 kB / 406.1 MB, free: 3.766 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.431, allocations: 487.6 kB / 406.5 MB, free: 3.539 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.431, allocations: 1.281 kB / 406.6 MB, free: 3.539 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.431, allocations: 20.69 kB / 406.6 MB, free: 3.523 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4311, allocations: 12.06 kB / 406.6 MB, free: 3.523 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.4317, allocations: 335.1 kB / 406.9 MB, free: 3.41 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.4345, allocations: 1.63 MB / 408.5 MB, free: 2.359 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.435, allocations: 254.2 kB / 408.8 MB, free: 2.23 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.4352, allocations: 134.6 kB / 408.9 MB, free: 2.172 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.4353, allocations: 2.719 kB / 408.9 MB, free: 2.172 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4353, allocations: 38.94 kB / 409 MB, free: 2.129 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.4353, allocations: 0 / 409 MB, free: 2.129 MB / 318.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002018/0.4373, allocations: 0.8089 MB / 409.8 MB, free: 1.645 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.4374, allocations: 81.33 kB / 409.8 MB, free: 1.551 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.4379, allocations: 386.4 kB / 410.2 MB, free: 1.352 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.4379, allocations: 32.33 kB / 410.3 MB, free: 1.316 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4381, allocations: 298.4 kB / 410.5 MB, free: 1.074 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.4381, allocations: 115.8 kB / 410.7 MB, free: 0.9844 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4383, allocations: 71.45 kB / 410.7 MB, free: 0.9414 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001113/0.4384, allocations: 352.4 kB / 411.1 MB, free: 0.6094 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.4386, allocations: 100.2 kB / 411.2 MB, free: 0.5781 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.4389, allocations: 200.1 kB / 411.4 MB, free: 420 kB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.4394, allocations: 319.1 kB / 411.7 MB, free: 188 kB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4394, allocations: 1.438 kB / 411.7 MB, free: 188 kB / 318.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.00112/0.4405, allocations: 444.1 kB / 412.1 MB, free: 15.94 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4405, allocations: 6 kB / 412.1 MB, free: 15.94 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4405, allocations: 3.438 kB / 412.1 MB, free: 15.94 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.4409, allocations: 85.75 kB / 412.2 MB, free: 15.89 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.4412, allocations: 84.36 kB / 412.3 MB, free: 15.86 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.4441, allocations: 2.928 MB / 415.2 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4445, allocations: 23.03 kB / 415.2 MB, free: 12.95 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4445, allocations: 12.16 kB / 415.3 MB, free: 12.95 MB / 334.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.0002622/0.4447, allocations: 166.7 kB / 415.4 MB, free: 12.79 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4448, allocations: 45.27 kB / 415.5 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/0.4449, allocations: 48.58 kB / 415.5 MB, free: 12.73 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.445, allocations: 4.562 kB / 415.5 MB, free: 12.73 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.445, allocations: 5.875 kB / 415.5 MB, free: 12.72 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.445, allocations: 0 / 415.5 MB, free: 12.72 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4467, allocations: 0.8983 MB / 416.4 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4467, allocations: 0 / 416.4 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4469, allocations: 42.98 kB / 416.5 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/0.4473, allocations: 81.83 kB / 416.5 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.4473, allocations: 10.7 kB / 416.5 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.4506, allocations: 2.925 MB / 419.5 MB, free: 9.059 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4506, allocations: 5.016 kB / 419.5 MB, free: 9.055 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4518, allocations: 0.6102 MB / 420.1 MB, free: 8.629 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.452, allocations: 42.8 kB / 420.1 MB, free: 8.598 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.452, allocations: 6.375 kB / 420.1 MB, free: 8.594 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.4524, allocations: 37.59 kB / 420.2 MB, free: 8.574 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4525, allocations: 27.89 kB / 420.2 MB, free: 8.555 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.4526, allocations: 11.78 kB / 420.2 MB, free: 8.551 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0003847/0.453, allocations: 272.4 kB / 420.5 MB, free: 8.383 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.453, allocations: 1.156 kB / 420.5 MB, free: 8.383 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0007061/0.4537, allocations: 115.2 kB / 420.6 MB, free: 8.371 MB / 334.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.0001969/0.4539, allocations: 109.5 kB / 420.7 MB, free: 8.273 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001108/0.455, allocations: 0.4969 MB / 421.2 MB, free: 7.918 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.455, allocations: 9.031 kB / 421.2 MB, free: 7.91 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.4556, allocations: 376.4 kB / 421.6 MB, free: 7.613 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.4563, allocations: 65.98 kB / 421.6 MB, free: 7.574 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.4585, allocations: 0.9567 MB / 422.6 MB, free: 6.914 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.459, allocations: 0.8396 MB / 423.4 MB, free: 6.145 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001839/0.4592, allocations: 48.91 kB / 423.5 MB, free: 6.113 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.4593, allocations: 28.78 kB / 423.5 MB, free: 6.105 MB / 334.1 MB
Notification: Performance of SimCode: time 3e-07/0.4593, allocations: 1 kB / 423.5 MB, free: 6.105 MB / 334.1 MB
Notification: Performance of Templates: time 0.01256/0.4718, allocations: 4.998 MB / 428.5 MB, free: 2.852 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.050140812061727]