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.001046/0.001046, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002577, allocations: 449.8 kB / 10.44 MB, free: 252 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.001074/0.001074, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002493, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8945/0.8945, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08053/0.975, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.432e-06/1.432e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.269e-05, allocations: 10.25 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01912/0.01913, allocations: 26.76 MB / 271.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1284/0.1475, allocations: 7.665 MB / 279.1 MB, free: 476 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005997/0.1535, allocations: 313.4 kB / 279.4 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01773/0.1712, allocations: 13.94 MB / 293.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009286/0.1805, allocations: 2.667 MB / 296.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.1856, allocations: 2.028 MB / 298.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03395/0.2195, allocations: 19.26 MB / 317.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0651/0.2846, allocations: 28.44 MB / 345.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02731/0.3119, allocations: 15.68 MB / 361.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01823/0.3301, allocations: 11.32 MB / 372.8 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009924/0.3401, allocations: 2.922 MB / 375.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.351, allocations: 3.226 MB / 378.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005973/0.357, allocations: 4.477 MB / 383.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01202/0.369, allocations: 6.123 MB / 389.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.3847, allocations: 17.36 MB / 406.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.3847, allocations: 0 / 406.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3847, allocations: 0 / 406.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006211/0.3854, allocations: 0 / 406.9 MB, free: 7.539 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.2492/0.6345, allocations: 24.37 MB / 431.3 MB, free: 94.85 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6346, allocations: 11.42 kB / 431.3 MB, free: 94.85 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02733/0.6619, allocations: 8.511 MB / 439.8 MB, free: 94.85 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.6737, allocations: 5.992 MB / 445.8 MB, free: 93.64 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007718/0.6745, allocations: 1.343 MB / 447.1 MB, free: 93.6 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/0.6778, allocations: 1.76 MB / 448.9 MB, free: 93.59 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/0.7009, allocations: 14.45 MB / 463.3 MB, free: 89.01 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003183/0.7012, allocations: 12.61 kB / 463.3 MB, free: 89 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/0.7026, allocations: 0.7306 MB / 464.1 MB, free: 88.43 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004738/0.7031, allocations: 0.8242 MB / 464.9 MB, free: 88.23 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.7153, allocations: 6.952 MB / 471.8 MB, free: 81.26 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06148/0.7768, allocations: 53.75 MB / 0.5133 GB, free: 29.2 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.7834, allocations: 6.641 MB / 0.5198 GB, free: 22.68 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.7856, allocations: 2.097 MB / 0.5218 GB, free: 20.64 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.7859, allocations: 180.4 kB / 0.522 GB, free: 20.46 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.7859, allocations: 98.45 kB / 0.5221 GB, free: 20.36 MB / 394.8 MB Notification: Performance of pre-optimization done (n=577): time 6.984e-06/0.7859, allocations: 0.875 kB / 0.5221 GB, free: 20.36 MB / 394.8 MB Notification: Performance of matching and sorting (n=577): time 0.01188/0.7978, allocations: 6.63 MB / 0.5285 GB, free: 13.73 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.7979, allocations: 115.9 kB / 0.5287 GB, free: 13.61 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.8016, allocations: 4.152 MB / 0.5327 GB, free: 10.32 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.8018, allocations: 113.7 kB / 0.5328 GB, free: 10.2 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.8038, allocations: 7.338 MB / 0.54 GB, free: 3.082 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.8048, allocations: 2.084 MB / 0.542 GB, free: 1.113 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/0.8065, allocations: 1.923 MB / 0.5439 GB, free: 15.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.8066, allocations: 305.8 kB / 0.5442 GB, free: 15.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.8085, allocations: 1.456 MB / 0.5456 GB, free: 13.62 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.8122, allocations: 5.726 MB / 0.5512 GB, free: 5.996 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007196/0.8194, allocations: 8.605 MB / 0.5596 GB, free: 11.97 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.691e-05/0.8195, allocations: 44 kB / 0.5596 GB, free: 11.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008436/0.8279, allocations: 6.734 MB / 0.5662 GB, free: 6.148 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.828, allocations: 73.2 kB / 0.5663 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.8281, allocations: 160 kB / 0.5664 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.8313, allocations: 1.546 MB / 0.568 GB, free: 4.387 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/0.836, allocations: 2.461 MB / 0.5704 GB, free: 1.918 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/0.8419, allocations: 5.572 MB / 0.5758 GB, free: 12.36 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/0.8464, allocations: 1.183 MB / 0.577 GB, free: 11.17 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/0.847, allocations: 452 kB / 0.5774 GB, free: 10.73 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.003532/0.8506, allocations: 0.84 MB / 0.5782 GB, free: 9.875 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.8515, allocations: 0.5268 MB / 0.5787 GB, free: 9.348 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/0.857, allocations: 4.414 MB / 0.583 GB, free: 5.137 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0029/0.8599, allocations: 2.175 MB / 0.5852 GB, free: 2.914 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.8599, allocations: 15.94 kB / 0.5852 GB, free: 2.898 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.8599, allocations: 27.89 kB / 0.5852 GB, free: 2.871 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1636/1.024, allocations: 12.9 MB / 0.5978 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.024, allocations: 10.06 kB / 0.5978 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.026, allocations: 0.9854 MB / 0.5988 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.028, allocations: 0.8391 MB / 0.5996 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/1.031, allocations: 1.343 MB / 0.6009 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/1.031, allocations: 119.3 kB / 0.601 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/1.036, allocations: 5.161 MB / 0.6061 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.036, allocations: 15.69 kB / 0.6061 GB, free: 117 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/1.041, allocations: 4.554 MB / 0.6105 GB, free: 115.9 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/1.042, allocations: 113 kB / 0.6106 GB, free: 115.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.043, allocations: 144.1 kB / 0.6108 GB, free: 115.9 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/1.044, allocations: 418.8 kB / 0.6112 GB, free: 115.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.044, allocations: 122.7 kB / 0.6113 GB, free: 115.9 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001882/1.046, allocations: 1.831 MB / 0.6131 GB, free: 115.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.046, allocations: 0 / 0.6131 GB, free: 115.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006891/1.053, allocations: 4.105 MB / 0.6171 GB, free: 115.1 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.0006725/1.054, allocations: 329.4 kB / 0.6174 GB, free: 115 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006102/1.06, allocations: 5.297 MB / 0.6226 GB, free: 114.4 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002668/1.06, allocations: 173.4 kB / 0.6227 GB, free: 114.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006347/1.066, allocations: 4.819 MB / 0.6274 GB, free: 113.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/1.072, allocations: 11.54 MB / 0.6387 GB, free: 103.4 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/1.175, allocations: 24.63 MB / 0.6628 GB, free: 82.68 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/1.179, allocations: 3.451 MB / 0.6661 GB, free: 80.36 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00297/1.182, allocations: 1.043 MB / 0.6671 GB, free: 79.57 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/1.184, allocations: 1.261 MB / 0.6684 GB, free: 78.43 MB / 442.8 MB Notification: Performance of SimCode: time 1.163e-06/1.184, allocations: 0 / 0.6684 GB, free: 78.43 MB / 442.8 MB Notification: Performance of Templates: time 0.249/1.433, allocations: 99.68 MB / 0.7657 GB, free: 104.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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.295808531343937]