Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001816/0.001816, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002925/0.002925, allocations: 215 kB / 24.47 MB, free: 3.777 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.579/1.579, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 55.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 49.15 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008154/0.2641, allocations: 6.84 MB / 403.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2689, allocations: 2.627 MB / 406.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005916/0.2695, allocations: 81.81 kB / 406.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.2706, allocations: 0.5751 MB / 407 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.2722, allocations: 0.772 MB / 407.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.2731, allocations: 443 kB / 408.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.2765, allocations: 3.407 MB / 411.6 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.2791, allocations: 1.848 MB / 413.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.2823, allocations: 1.707 MB / 415.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.2858, allocations: 2.005 MB / 417.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007069/0.2865, allocations: 461.4 kB / 417.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.2881, allocations: 0.6539 MB / 418.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.2894, allocations: 1.25 MB / 419.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.2921, allocations: 1.59 MB / 421.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007346/0.2994, allocations: 6.131 MB / 427.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2994, allocations: 4 kB / 427.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2994, allocations: 0 / 427.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.2996, allocations: 0 / 427.2 MB, free: 4.691 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008608/0.3082, allocations: 3.797 MB / 431 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3082, allocations: 8.031 kB / 431 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3093, allocations: 406.6 kB / 431.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/0.3144, allocations: 1.908 MB / 433.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.3147, allocations: 229.8 kB / 433.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009815/0.3157, allocations: 291.9 kB / 433.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.3295, allocations: 4.438 MB / 438.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.3295, allocations: 0 / 438.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004708/0.33, allocations: 120 kB / 438.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002706/0.3303, allocations: 141.9 kB / 438.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.3417, allocations: 3.478 MB / 442 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.3709, allocations: 9.259 MB / 451.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.3748, allocations: 1.625 MB / 452.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/0.3786, allocations: 1.415 MB / 454.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.3789, allocations: 56.89 kB / 454.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.3789, allocations: 51.55 kB / 454.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.019e-06/0.3789, allocations: 3.938 kB / 454.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01137/0.3903, allocations: 5.14 MB / 459.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3904, allocations: 90.42 kB / 459.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.3932, allocations: 1.725 MB / 461.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/0.3933, allocations: 45.7 kB / 461.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3943, allocations: 1.368 MB / 462.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.3947, allocations: 479.9 kB / 463.3 MB, free: 176 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/0.3952, allocations: 275.5 kB / 463.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3954, allocations: 309.1 kB / 463.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.3967, allocations: 0.8198 MB / 464.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.3983, allocations: 1.208 MB / 465.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.4014, allocations: 2.091 MB / 468 MB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.4014, allocations: 4 kB / 468 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004571/0.406, allocations: 2.508 MB / 470.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.406, allocations: 11.91 kB / 470.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.406, allocations: 12 kB / 470.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.4079, allocations: 479.3 kB / 471 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.4094, allocations: 339.5 kB / 471.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.4155, allocations: 4.207 MB / 475.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.417, allocations: 91.94 kB / 475.6 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4171, allocations: 63.98 kB / 475.6 MB, free: 3.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001782/0.4189, allocations: 1.048 MB / 476.7 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.4194, allocations: 178.9 kB / 476.9 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.4231, allocations: 2.116 MB / 479 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.4232, allocations: 19.94 kB / 479 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4232, allocations: 4 kB / 479 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4232, allocations: 7.984 kB / 479 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008949/0.4322, allocations: 4.479 MB / 483.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4322, allocations: 0 / 483.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.4332, allocations: 239.8 kB / 483.7 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.435, allocations: 461 kB / 484.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.4351, allocations: 27.98 kB / 484.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.441, allocations: 4.106 MB / 488.3 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.441, allocations: 0 / 488.3 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/0.4464, allocations: 3.232 MB / 491.5 MB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4475, allocations: 370.8 kB / 491.9 MB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.4478, allocations: 31.97 kB / 491.9 MB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.4489, allocations: 91.97 kB / 492 MB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.4492, allocations: 108.6 kB / 492.1 MB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/0.4493, allocations: 39.98 kB / 492.2 MB, free: 2.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.4511, allocations: 1.189 MB / 493.4 MB, free: 1.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4511, allocations: 0 / 493.4 MB, free: 1.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00178/0.4529, allocations: 0.5583 MB / 493.9 MB, free: 0.832 MB / 398.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.0006331/0.4535, allocations: 218.8 kB / 494.1 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.4576, allocations: 2.129 MB / 496.3 MB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4576, allocations: 0 / 496.3 MB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.4597, allocations: 1.165 MB / 497.4 MB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4616, allocations: 416.6 kB / 497.8 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.4729, allocations: 5.816 MB / 0.4918 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/0.4765, allocations: 1.875 MB / 0.4937 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002527/0.4791, allocations: 473.8 kB / 0.4941 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.4798, allocations: 127.4 kB / 0.4943 GB, free: 4.492 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4798, allocations: 0 / 0.4943 GB, free: 4.492 MB / 414.1 MB Notification: Performance of Templates: time 0.08302/0.5628, allocations: 30.95 MB / 0.5245 GB, free: 5.473 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.880620526149869]