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.0008464/0.0008464, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001937, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007362/0.0007362, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009594/0.001696, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9194/0.9194, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08092/1, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.482e-06/1.482e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.152e-05, allocations: 5.125 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02304/0.02306, allocations: 26.76 MB / 271.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1252/0.1483, allocations: 7.666 MB / 278.9 MB, free: 424 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/0.154, allocations: 312.5 kB / 279.2 MB, free: 424 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01577/0.1698, allocations: 13.95 MB / 293.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009321/0.1791, allocations: 2.663 MB / 295.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.1842, allocations: 2.046 MB / 297.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01882/0.203, allocations: 19.24 MB / 317.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04449/0.2475, allocations: 28.43 MB / 345.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02509/0.2726, allocations: 15.68 MB / 361.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.2871, allocations: 11.33 MB / 372.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006469/0.2936, allocations: 2.918 MB / 375.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009878/0.3034, allocations: 3.223 MB / 378.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007458/0.3109, allocations: 4.481 MB / 383.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02036/0.3313, allocations: 6.119 MB / 389.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.3584, allocations: 17.41 MB / 406.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.3585, allocations: 4 kB / 406.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3585, allocations: 3.938 kB / 406.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006928/0.3592, allocations: 0 / 406.7 MB, free: 7.594 MB / 378.7 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.2632/0.6224, allocations: 24.38 MB / 431.1 MB, free: 95.13 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6224, allocations: 10.28 kB / 431.1 MB, free: 95.13 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/0.6493, allocations: 8.521 MB / 439.7 MB, free: 95.13 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.6615, allocations: 5.987 MB / 445.6 MB, free: 93.92 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007527/0.6622, allocations: 1.343 MB / 447 MB, free: 93.88 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/0.6662, allocations: 1.761 MB / 448.7 MB, free: 93.87 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/0.6958, allocations: 14.44 MB / 463.2 MB, free: 89.34 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/0.6962, allocations: 22.56 kB / 463.2 MB, free: 89.33 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.6977, allocations: 0.7281 MB / 463.9 MB, free: 88.76 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004136/0.6982, allocations: 0.8383 MB / 464.8 MB, free: 88.46 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.7113, allocations: 6.952 MB / 471.7 MB, free: 81.48 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06984/0.7811, allocations: 53.74 MB / 0.5132 GB, free: 29.43 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.7879, allocations: 6.653 MB / 0.5196 GB, free: 22.9 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.7901, allocations: 2.103 MB / 0.5217 GB, free: 20.86 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.7904, allocations: 176.4 kB / 0.5219 GB, free: 20.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.7905, allocations: 103.1 kB / 0.522 GB, free: 20.57 MB / 394.8 MB Notification: Performance of pre-optimization done (n=577): time 7.223e-06/0.7905, allocations: 0 / 0.522 GB, free: 20.57 MB / 394.8 MB Notification: Performance of matching and sorting (n=577): time 0.01191/0.8024, allocations: 6.628 MB / 0.5284 GB, free: 13.95 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.8024, allocations: 111.9 kB / 0.5285 GB, free: 13.82 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/0.8065, allocations: 4.152 MB / 0.5326 GB, free: 10.54 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.8068, allocations: 120.7 kB / 0.5327 GB, free: 10.42 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001888/0.8086, allocations: 7.34 MB / 0.5399 GB, free: 3.293 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009378/0.8096, allocations: 2.083 MB / 0.5419 GB, free: 1.324 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.8112, allocations: 1.916 MB / 0.5438 GB, free: 15.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.8113, allocations: 305.1 kB / 0.5441 GB, free: 15.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.8131, allocations: 1.456 MB / 0.5455 GB, free: 13.84 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.8169, allocations: 5.724 MB / 0.5511 GB, free: 6.215 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007466/0.8244, allocations: 8.116 MB / 0.559 GB, free: 12.72 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.8245, allocations: 52 kB / 0.5591 GB, free: 12.67 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.009284/0.8338, allocations: 6.734 MB / 0.5656 GB, free: 6.867 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.8339, allocations: 72.88 kB / 0.5657 GB, free: 6.797 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.834, allocations: 160 kB / 0.5659 GB, free: 6.641 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003086/0.8371, allocations: 1.523 MB / 0.5674 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005219/0.8423, allocations: 2.469 MB / 0.5698 GB, free: 2.648 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/0.848, allocations: 5.573 MB / 0.5752 GB, free: 13.11 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.8529, allocations: 1.175 MB / 0.5764 GB, free: 11.92 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/0.8543, allocations: 448 kB / 0.5768 GB, free: 11.48 MB / 442.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.004065/0.8584, allocations: 0.8449 MB / 0.5776 GB, free: 10.62 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000983/0.8594, allocations: 0.5268 MB / 0.5781 GB, free: 10.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/0.8649, allocations: 4.414 MB / 0.5824 GB, free: 5.887 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002765/0.8677, allocations: 2.177 MB / 0.5846 GB, free: 3.66 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.8677, allocations: 12 kB / 0.5846 GB, free: 3.648 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.8677, allocations: 35.94 kB / 0.5846 GB, free: 3.613 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1707/1.038, allocations: 12.9 MB / 0.5972 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.038, allocations: 6.188 kB / 0.5972 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.041, allocations: 0.99 MB / 0.5982 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.043, allocations: 0.8408 MB / 0.599 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/1.045, allocations: 1.327 MB / 0.6003 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/1.046, allocations: 124.6 kB / 0.6004 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/1.05, allocations: 5.162 MB / 0.6055 GB, free: 116.9 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.05, allocations: 17.72 kB / 0.6055 GB, free: 116.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/1.055, allocations: 4.53 MB / 0.6099 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/1.055, allocations: 116 kB / 0.61 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.057, allocations: 142.1 kB / 0.6101 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/1.057, allocations: 417.4 kB / 0.6105 GB, free: 115.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.057, allocations: 121.2 kB / 0.6107 GB, free: 115.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001951/1.059, allocations: 1.829 MB / 0.6124 GB, free: 115.6 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.059, allocations: 2.938 kB / 0.6124 GB, free: 115.6 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00821/1.067, allocations: 4.115 MB / 0.6165 GB, free: 115 MB / 442.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.0006841/1.068, allocations: 319.1 kB / 0.6168 GB, free: 114.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006937/1.075, allocations: 5.125 MB / 0.6218 GB, free: 114.4 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003852/1.075, allocations: 169.7 kB / 0.6219 GB, free: 114.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.078, allocations: 2.188 MB / 0.6241 GB, free: 114 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/1.083, allocations: 1.973 MB / 0.626 GB, free: 113.9 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09432/1.177, allocations: 26.2 MB / 0.6516 GB, free: 95.89 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003938/1.181, allocations: 3.486 MB / 0.655 GB, free: 93.56 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00309/1.184, allocations: 1.119 MB / 0.6561 GB, free: 92.69 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/1.187, allocations: 1.392 MB / 0.6574 GB, free: 91.49 MB / 442.8 MB Notification: Performance of SimCode: time 2.073e-06/1.187, allocations: 0 / 0.6574 GB, free: 91.49 MB / 442.8 MB Notification: Performance of Templates: time 0.2565/1.443, allocations: 103.4 MB / 0.7584 GB, free: 124.6 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 -ignoreHideResult -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.66655012499541]