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.001255/0.001255, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 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.001472/0.001472, allocations: 172.2 kB / 26.39 MB, free: 7.996 MB / 18.57 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 0.9186/0.9186, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.667e-06/3.667e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.511e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007287/0.007312, allocations: 7.391 MB / 259.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.01118, allocations: 2.688 MB / 262.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.01167, allocations: 75.38 kB / 262.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.01259, allocations: 0.5819 MB / 263 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.01377, allocations: 0.7995 MB / 263.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.01431, allocations: 447.2 kB / 264.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.01659, allocations: 3.528 MB / 267.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.01816, allocations: 1.868 MB / 269.6 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.02082, allocations: 2.883 MB / 272.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.02256, allocations: 1.883 MB / 274.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.02291, allocations: 452 kB / 274.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006972/0.02361, allocations: 0.6479 MB / 275.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.02436, allocations: 1.258 MB / 276.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.02565, allocations: 1.337 MB / 278.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.02822, allocations: 3.287 MB / 281.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.02823, allocations: 0 / 281.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02823, allocations: 0 / 281.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.02826, allocations: 0 / 281.4 MB, free: 9.988 MB / 266.7 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.0038/0.03206, allocations: 3.837 MB / 285.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.03209, allocations: 15.98 kB / 285.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/0.03296, allocations: 0.6275 MB / 285.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.03465, allocations: 1.636 MB / 287.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.03477, allocations: 226.2 kB / 287.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.03505, allocations: 296.3 kB / 288 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.03771, allocations: 2.284 MB / 290.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.03776, allocations: 3.938 kB / 290.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.03804, allocations: 124 kB / 290.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.0382, allocations: 141.9 kB / 290.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.04036, allocations: 0.7701 MB / 291.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.05342, allocations: 8.056 MB / 299.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.05452, allocations: 0.8086 MB / 300.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.05586, allocations: 0.7916 MB / 301 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.05599, allocations: 40.98 kB / 301 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.05603, allocations: 54.33 kB / 301.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.477e-06/0.05603, allocations: 0 / 301.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003351/0.05938, allocations: 2.16 MB / 303.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.05944, allocations: 98.36 kB / 303.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.06056, allocations: 1.337 MB / 304.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.06062, allocations: 45.7 kB / 304.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.06193, allocations: 1.473 MB / 306.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.06221, allocations: 487.8 kB / 306.6 MB, free: 164 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.06251, allocations: 297 kB / 306.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.06262, allocations: 476.8 kB / 307.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.06286, allocations: 167.8 kB / 307.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.06337, allocations: 0.7317 MB / 308.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.0642, allocations: 0.9783 MB / 309.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.06421, allocations: 4 kB / 309.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00141/0.06562, allocations: 1.191 MB / 310.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.06564, allocations: 8 kB / 310.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.06565, allocations: 12 kB / 310.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.06657, allocations: 381.2 kB / 310.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.06721, allocations: 291.5 kB / 311.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.06992, allocations: 3.22 MB / 314.4 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.07058, allocations: 51.94 kB / 314.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.07067, allocations: 48 kB / 314.5 MB, free: 7.789 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (157): * Single equations (assignments): 152 * 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.0005656/0.07124, allocations: 248.2 kB / 314.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.07158, allocations: 234.8 kB / 314.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.0733, allocations: 0.9358 MB / 315.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.07334, allocations: 19.94 kB / 315.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.07334, allocations: 4 kB / 315.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.07336, allocations: 11.97 kB / 315.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/0.07792, allocations: 3.226 MB / 319.1 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.07793, allocations: 4 kB / 319.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.07854, allocations: 188 kB / 319.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.0799, allocations: 371.6 kB / 319.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.07997, allocations: 35.92 kB / 319.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.08281, allocations: 3.174 MB / 322.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.08281, allocations: 0 / 322.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.08474, allocations: 1.374 MB / 324.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.08519, allocations: 290.8 kB / 324.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.08535, allocations: 31.98 kB / 324.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.08588, allocations: 63.95 kB / 324.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.08605, allocations: 100.7 kB / 324.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.08612, allocations: 32 kB / 324.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007407/0.08686, allocations: 0.7283 MB / 325.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08686, allocations: 0 / 325.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001417/0.08828, allocations: 0.5467 MB / 326.1 MB, free: 11.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (103): * Single equations (assignments): 98 * 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.000433/0.08871, allocations: 226.3 kB / 326.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.09046, allocations: 1.095 MB / 327.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.09046, allocations: 6 kB / 327.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.09143, allocations: 0.7391 MB / 328.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.09273, allocations: 428.6 kB / 328.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/0.09891, allocations: 4.755 MB / 333.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.09993, allocations: 0.875 MB / 334.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006397/0.1006, allocations: 234 kB / 334.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/0.1015, allocations: 489.9 kB / 334.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1015, allocations: 0 / 334.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of Templates: time 0.1429/0.2443, allocations: 28.25 MB / 363.1 MB, free: 84.7 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4696606346406043]