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.001351/0.001351, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001456/0.001456, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.404/1.404, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.002095/0.002095, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2612, allocations: 53.32 MB / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00982/0.271, allocations: 7.885 MB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005656/0.2767, allocations: 2.737 MB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.2777, allocations: 75.62 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.2791, allocations: 0.5991 MB / 441.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.281, allocations: 0.7691 MB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.2818, allocations: 415.4 kB / 442.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00359/0.2854, allocations: 3.304 MB / 445.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.2881, allocations: 2.003 MB / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.291, allocations: 1.688 MB / 449.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.294, allocations: 2.086 MB / 451.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006774/0.2946, allocations: 468 kB / 451.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.2961, allocations: 0.6714 MB / 452.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2974, allocations: 1.266 MB / 453.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.2999, allocations: 1.98 MB / 455.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007542/0.3075, allocations: 6.143 MB / 461.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3075, allocations: 0 / 461.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3075, allocations: 0 / 461.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.3076, allocations: 0 / 461.9 MB, free: 7.484 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.008032/0.3156, allocations: 3.908 MB / 465.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3157, allocations: 8.031 kB / 465.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3169, allocations: 446.5 kB / 466.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.3206, allocations: 2.195 MB / 468.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.3208, allocations: 214.2 kB / 468.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.3212, allocations: 296 kB / 468.9 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007447/0.3286, allocations: 4.215 MB / 473.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.3287, allocations: 3.938 kB / 473.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.329, allocations: 124 kB / 473.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.3292, allocations: 153.9 kB / 473.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.336, allocations: 3.509 MB / 476.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.3549, allocations: 11.14 MB / 488.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.3582, allocations: 2.556 MB / 490.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.3607, allocations: 1.411 MB / 492 MB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.361, allocations: 126.1 kB / 492.1 MB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.361, allocations: 47.56 kB / 492.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.859e-06/0.361, allocations: 0 / 492.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01027/0.3713, allocations: 5.212 MB / 497.4 MB, free: 3.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3714, allocations: 90.42 kB / 497.5 MB, free: 3.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.3746, allocations: 1.914 MB / 499.4 MB, free: 1.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.3748, allocations: 53.69 kB / 499.5 MB, free: 1.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.3762, allocations: 1.369 MB / 0.4891 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/0.3766, allocations: 479.9 kB / 0.4895 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.3771, allocations: 271.5 kB / 0.4898 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3772, allocations: 312.9 kB / 0.4901 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.3785, allocations: 0.8158 MB / 0.4909 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3803, allocations: 1.182 MB / 0.4921 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.3832, allocations: 2.078 MB / 0.4941 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3832, allocations: 0 / 0.4941 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004381/0.3876, allocations: 2.527 MB / 0.4966 GB, free: 7.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3876, allocations: 11.94 kB / 0.4966 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.3876, allocations: 12 kB / 0.4966 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.3895, allocations: 479.1 kB / 0.497 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3908, allocations: 339.5 kB / 0.4974 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/0.3966, allocations: 4.396 MB / 0.5016 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3978, allocations: 79.89 kB / 0.5017 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.3979, allocations: 67.98 kB / 0.5018 GB, free: 2.277 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.001666/0.3996, allocations: 1.055 MB / 0.5028 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.4, allocations: 198.8 kB / 0.503 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.4036, allocations: 2.145 MB / 0.5051 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/0.4037, allocations: 19.98 kB / 0.5051 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4037, allocations: 8 kB / 0.5051 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.4037, allocations: 7.922 kB / 0.5051 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008698/0.4124, allocations: 5.163 MB / 0.5102 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4124, allocations: 4 kB / 0.5102 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.4134, allocations: 227.6 kB / 0.5104 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.4152, allocations: 456.5 kB / 0.5108 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.4153, allocations: 35.98 kB / 0.5109 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.4208, allocations: 4.318 MB / 0.5151 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4208, allocations: 7.969 kB / 0.5151 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.426, allocations: 3.253 MB / 0.5183 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/0.4269, allocations: 463.8 kB / 0.5187 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.4272, allocations: 31.94 kB / 0.5187 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.4281, allocations: 95.95 kB / 0.5188 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.4283, allocations: 96.8 kB / 0.5189 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.4284, allocations: 36 kB / 0.519 GB, free: 372 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.4305, allocations: 1.346 MB / 0.5203 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.5203 GB, free: 15.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001585/0.4321, allocations: 0.5624 MB / 0.5208 GB, free: 14.46 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.000528/0.4326, allocations: 221.8 kB / 0.521 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.4362, allocations: 2.124 MB / 0.5231 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4362, allocations: 5.938 kB / 0.5231 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.4382, allocations: 1.156 MB / 0.5242 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.4404, allocations: 0.5005 MB / 0.5247 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/0.4503, allocations: 5.865 MB / 0.5305 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.4527, allocations: 2.443 MB / 0.5329 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.4541, allocations: 499.4 kB / 0.5333 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.4545, allocations: 131.4 kB / 0.5335 GB, free: 1.414 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4545, allocations: 0 / 0.5335 GB, free: 1.414 MB / 446.1 MB Notification: Performance of Templates: time 0.2575/0.7121, allocations: 31.46 MB / 0.5642 GB, free: 80.46 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: 5.5860112104564905]