Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001304/0.001304, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001383/0.001383, allocations: 168.7 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.154e-05, allocations: 6.25 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1106/0.1107, allocations: 26.51 MB / 300 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.122, allocations: 7.632 MB / 307.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.1244, allocations: 312.5 kB / 307.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.1344, allocations: 14.03 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.1386, allocations: 2.685 MB / 324.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1411, allocations: 2.067 MB / 326.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.1526, allocations: 19.13 MB / 345.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0265/0.1791, allocations: 29.03 MB / 374.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.1922, allocations: 15.36 MB / 390.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009723/0.2019, allocations: 11.36 MB / 401.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002956/0.2049, allocations: 2.918 MB / 404.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.208, allocations: 3.21 MB / 407.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003024/0.2111, allocations: 5.674 MB / 413.4 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005995/0.2171, allocations: 7.334 MB / 420.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2077/0.4248, allocations: 18.33 MB / 439 MB, free: 68.64 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4248, allocations: 0.625 kB / 439 MB, free: 68.64 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4248, allocations: 0 / 439 MB, free: 68.64 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006133/0.4254, allocations: 1.719 kB / 439 MB, free: 68.64 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.02574/0.4511, allocations: 20.91 MB / 459.9 MB, free: 63.33 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.4512, allocations: 7.75 kB / 459.9 MB, free: 63.33 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.4712, allocations: 8.52 MB / 468.5 MB, free: 63.18 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008801/0.48, allocations: 5.987 MB / 474.5 MB, free: 61.16 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/0.4804, allocations: 1.346 MB / 475.8 MB, free: 60.54 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/0.4821, allocations: 1.754 MB / 477.6 MB, free: 59.96 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.4962, allocations: 14.45 MB / 492 MB, free: 47.71 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/0.4965, allocations: 15.42 kB / 492 MB, free: 47.7 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.4977, allocations: 0.7279 MB / 492.7 MB, free: 46.98 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00037/0.4981, allocations: 0.8415 MB / 493.6 MB, free: 46.13 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00858/0.5067, allocations: 6.956 MB / 0.4888 GB, free: 39.16 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04617/0.5529, allocations: 53.43 MB / 0.541 GB, free: 3.395 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007361/0.5602, allocations: 6.628 MB / 0.5475 GB, free: 12.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.5626, allocations: 2.092 MB / 0.5495 GB, free: 10.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.5629, allocations: 184.4 kB / 0.5497 GB, free: 10.72 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.563, allocations: 95.08 kB / 0.5498 GB, free: 10.61 MB / 410.8 MB Notification: Performance of pre-optimization done (n=577): time 7.684e-06/0.563, allocations: 0 / 0.5498 GB, free: 10.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=577): time 0.01292/0.5759, allocations: 6.622 MB / 0.5562 GB, free: 3.996 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.576, allocations: 141.6 kB / 0.5564 GB, free: 3.836 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.5794, allocations: 4.158 MB / 0.5604 GB, free: 0.5508 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.5796, allocations: 117.7 kB / 0.5605 GB, free: 440 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002817/0.5825, allocations: 7.336 MB / 0.5677 GB, free: 9.309 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.5836, allocations: 2.083 MB / 0.5697 GB, free: 7.34 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.5853, allocations: 1.92 MB / 0.5716 GB, free: 5.613 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.5854, allocations: 305.1 kB / 0.5719 GB, free: 5.312 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.5872, allocations: 1.452 MB / 0.5733 GB, free: 3.852 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1215/0.7087, allocations: 5.721 MB / 0.5789 GB, free: 111.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006255/0.7149, allocations: 8.118 MB / 0.5868 GB, free: 105.6 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-05/0.715, allocations: 45.28 kB / 0.5869 GB, free: 105.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.007375/0.7224, allocations: 6.733 MB / 0.5935 GB, free: 105.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.7224, allocations: 73.62 kB / 0.5935 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.129e-05/0.7225, allocations: 159.9 kB / 0.5937 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/0.7252, allocations: 1.514 MB / 0.5952 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.7287, allocations: 2.174 MB / 0.5973 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.7334, allocations: 5.504 MB / 0.6027 GB, free: 103.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/0.7368, allocations: 1.176 MB / 0.6038 GB, free: 103.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.7372, allocations: 458.8 kB / 0.6043 GB, free: 103.7 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002572/0.7398, allocations: 0.8366 MB / 0.6051 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/0.7404, allocations: 0.5278 MB / 0.6056 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/0.7448, allocations: 4.406 MB / 0.6099 GB, free: 103.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002404/0.7472, allocations: 2.179 MB / 0.612 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7472, allocations: 17.28 kB / 0.612 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.7472, allocations: 30.61 kB / 0.6121 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.7599, allocations: 12.91 MB / 0.6247 GB, free: 95.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.7599, allocations: 8 kB / 0.6247 GB, free: 95.89 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.7616, allocations: 0.8326 MB / 0.6255 GB, free: 95.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.7641, allocations: 1.317 MB / 0.6268 GB, free: 94.35 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.7643, allocations: 120.8 kB / 0.6269 GB, free: 94.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.7685, allocations: 5.185 MB / 0.6319 GB, free: 90.11 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7685, allocations: 15.56 kB / 0.632 GB, free: 90.09 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.7729, allocations: 4.539 MB / 0.6364 GB, free: 86.14 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.774, allocations: 0.8349 MB / 0.6372 GB, free: 85.59 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.7745, allocations: 111.2 kB / 0.6373 GB, free: 85.48 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.7756, allocations: 144 kB / 0.6375 GB, free: 85.34 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/0.776, allocations: 415.1 kB / 0.6378 GB, free: 84.94 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.7762, allocations: 128 kB / 0.638 GB, free: 84.81 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001333/0.7775, allocations: 1.831 MB / 0.6398 GB, free: 83.23 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.7775, allocations: 0 / 0.6398 GB, free: 83.23 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006375/0.7839, allocations: 4.102 MB / 0.6438 GB, free: 79.12 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005387/0.7844, allocations: 319.8 kB / 0.6441 GB, free: 78.88 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.7891, allocations: 5.13 MB / 0.6491 GB, free: 74.29 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001712/0.7893, allocations: 120.9 kB / 0.6492 GB, free: 74.16 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.7911, allocations: 2.185 MB / 0.6513 GB, free: 72.12 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.794, allocations: 1.49 MB / 0.6528 GB, free: 70.71 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/0.8183, allocations: 24.2 MB / 0.6764 GB, free: 46.34 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.8208, allocations: 3.35 MB / 0.6797 GB, free: 42.95 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002683/0.8235, allocations: 1.12 MB / 0.6808 GB, free: 41.82 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/0.8257, allocations: 1.393 MB / 0.6821 GB, free: 40.42 MB / 426.8 MB Notification: Performance of SimCode: time 1.303e-06/0.8257, allocations: 0 / 0.6821 GB, free: 40.42 MB / 426.8 MB Notification: Performance of Templates: time 0.2195/1.045, allocations: 99.54 MB / 0.7794 GB, free: 106.7 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/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: 5.181262311059982]