Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001864/0.001864, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002238/0.002238, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.262 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench")
translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 53.36 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01008/0.2802, allocations: 7.891 MB / 440 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005326/0.2856, allocations: 2.749 MB / 442.8 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.2865, allocations: 87.38 kB / 442.8 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001281/0.2877, allocations: 0.5917 MB / 443.4 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001826/0.2896, allocations: 0.7809 MB / 444.2 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.2905, allocations: 431.3 kB / 444.6 MB, free: 10.51 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00348/0.2939, allocations: 3.308 MB / 448 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.2965, allocations: 2.004 MB / 450 MB, free: 5.125 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.2994, allocations: 1.721 MB / 451.7 MB, free: 3.41 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.3023, allocations: 2.09 MB / 453.8 MB, free: 1.312 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007001/0.303, allocations: 468 kB / 454.2 MB, free: 0.8555 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3044, allocations: 0.7221 MB / 454.9 MB, free: 136 kB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001334/0.3057, allocations: 1.274 MB / 456.2 MB, free: 14.86 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002503/0.3082, allocations: 1.976 MB / 458.2 MB, free: 12.87 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006547/0.3147, allocations: 6.143 MB / 464.3 MB, free: 6.711 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3148, allocations: 0 / 464.3 MB, free: 6.711 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.3148, allocations: 3.938 kB / 464.3 MB, free: 6.707 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.993e-05/0.3149, allocations: 0 / 464.3 MB, free: 6.707 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 778
 * Number of variables: 778
Notification: Performance of Generate backend data structure: time 0.008303/0.3232, allocations: 3.825 MB / 468.2 MB, free: 2.828 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3232, allocations: 8.031 kB / 468.2 MB, free: 2.82 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.3246, allocations: 450.5 kB / 468.6 MB, free: 2.379 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.3297, allocations: 2.123 MB / 470.7 MB, free: 220 kB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.33, allocations: 222.3 kB / 471 MB, free: 15.99 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008545/0.3309, allocations: 292.1 kB / 471.2 MB, free: 15.71 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/0.3407, allocations: 4.226 MB / 475.5 MB, free: 11.43 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.3407, allocations: 4 kB / 475.5 MB, free: 11.43 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/0.3411, allocations: 120 kB / 475.6 MB, free: 11.31 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.3413, allocations: 149.9 kB / 475.7 MB, free: 11.16 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006541/0.3478, allocations: 3.509 MB / 479.2 MB, free: 7.645 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.3661, allocations: 11.02 MB / 490.3 MB, free: 12.35 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.3686, allocations: 1.655 MB / 491.9 MB, free: 10.7 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/0.3712, allocations: 1.403 MB / 493.3 MB, free: 9.297 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3714, allocations: 48.95 kB / 493.4 MB, free: 9.246 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.3714, allocations: 51.5 kB / 493.4 MB, free: 9.188 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=128): time 3.626e-06/0.3714, allocations: 0 / 493.4 MB, free: 9.188 MB / 398.1 MB
Notification: Performance of matching and sorting (n=133): time 0.009684/0.3811, allocations: 5.128 MB / 498.5 MB, free: 4.023 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.3812, allocations: 94.42 kB / 498.6 MB, free: 3.914 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.3842, allocations: 1.914 MB / 0.4888 GB, free: 1.996 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.3843, allocations: 49.7 kB / 0.4889 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.3854, allocations: 1.373 MB / 0.4902 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.3858, allocations: 479.9 kB / 0.4907 GB, free: 84 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.3862, allocations: 271.7 kB / 0.4909 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000133/0.3864, allocations: 308.9 kB / 0.4912 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.3877, allocations: 0.8237 MB / 0.492 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.3893, allocations: 1.175 MB / 0.4932 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.3923, allocations: 2.082 MB / 0.4952 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3923, allocations: 4 kB / 0.4952 GB, free: 11.13 MB / 414.1 MB
Notification: Performance of matching and sorting (n=189) (initialization): time 0.00465/0.397, allocations: 2.52 MB / 0.4977 GB, free: 8.602 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.397, allocations: 12 kB / 0.4977 GB, free: 8.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.397, allocations: 8 kB / 0.4977 GB, free: 8.582 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.399, allocations: 479.1 kB / 0.4981 GB, free: 8.113 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.4003, allocations: 339.5 kB / 0.4985 GB, free: 7.781 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.4063, allocations: 4.293 MB / 0.5027 GB, free: 3.383 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4077, allocations: 91.89 kB / 0.5027 GB, free: 3.293 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.4079, allocations: 59.98 kB / 0.5028 GB, free: 3.234 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 46
 * 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 (158):
 * Single equations (assignments): 153
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,26,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001805/0.4097, allocations: 1.055 MB / 0.5038 GB, free: 2.168 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.4101, allocations: 202.8 kB / 0.504 GB, free: 1.969 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.414, allocations: 2.125 MB / 0.5061 GB, free: 15.82 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/0.4141, allocations: 31.97 kB / 0.5061 GB, free: 15.79 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4141, allocations: 8 kB / 0.5061 GB, free: 15.79 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4141, allocations: 7.922 kB / 0.5061 GB, free: 15.78 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009425/0.4235, allocations: 5.154 MB / 0.5112 GB, free: 10.54 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4235, allocations: 4 kB / 0.5112 GB, free: 10.54 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.4246, allocations: 223.6 kB / 0.5114 GB, free: 10.32 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.4265, allocations: 460.5 kB / 0.5118 GB, free: 9.863 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.4266, allocations: 35.98 kB / 0.5119 GB, free: 9.828 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.4323, allocations: 4.208 MB / 0.516 GB, free: 5.508 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.4323, allocations: 7.969 kB / 0.516 GB, free: 5.5 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/0.4378, allocations: 3.249 MB / 0.5192 GB, free: 2.211 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.439, allocations: 390.6 kB / 0.5195 GB, free: 1.828 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.4393, allocations: 35.97 kB / 0.5196 GB, free: 1.793 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.4403, allocations: 95.97 kB / 0.5197 GB, free: 1.699 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.4406, allocations: 104.7 kB / 0.5198 GB, free: 1.594 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/0.4407, allocations: 39.98 kB / 0.5198 GB, free: 1.555 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.00219/0.4428, allocations: 1.342 MB / 0.5211 GB, free: 224 kB / 430.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4428, allocations: 0 / 0.5211 GB, free: 224 kB / 430.1 MB
Notification: Performance of remove unused functions: time 0.002188/0.445, allocations: 0.5586 MB / 0.5217 GB, free: 15.66 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i)
 * 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 (104):
 * Single equations (assignments): 99
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,26,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006124/0.4456, allocations: 221.1 kB / 0.5219 GB, free: 15.44 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.003713/0.4494, allocations: 2.122 MB / 0.5239 GB, free: 13.3 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4494, allocations: 0 / 0.5239 GB, free: 13.3 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002025/0.4514, allocations: 1.16 MB / 0.5251 GB, free: 12.13 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.4538, allocations: 0.5048 MB / 0.5256 GB, free: 11.63 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.4653, allocations: 5.858 MB / 0.5313 GB, free: 5.715 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.4679, allocations: 2.443 MB / 0.5337 GB, free: 3.238 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001612/0.4696, allocations: 0.4915 MB / 0.5341 GB, free: 2.742 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.47, allocations: 135.4 kB / 0.5343 GB, free: 2.609 MB / 446.1 MB
Notification: Performance of SimCode: time 8.71e-07/0.47, allocations: 0 / 0.5343 GB, free: 2.609 MB / 446.1 MB
Notification: Performance of Templates: time 0.2936/0.7636, allocations: 32.02 MB / 0.5655 GB, free: 80.48 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001326020807028]