Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 147.8 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8956/0.8956, allocations: 173.4 MB / 201.5 MB, free: 8.246 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 268.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.109e-05, allocations: 5.406 kB / 268.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01747/0.0175, allocations: 26.55 MB / 295.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.03159, allocations: 7.564 MB / 302.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004775/0.03637, allocations: 310.4 kB / 302.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01817/0.05454, allocations: 13.91 MB / 316.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.06777, allocations: 2.814 MB / 319.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.07397, allocations: 1.87 MB / 321.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02494/0.09891, allocations: 18.95 MB / 340.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1987/0.2977, allocations: 28.99 MB / 369.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01768/0.3153, allocations: 15.38 MB / 384.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/0.3315, allocations: 11.53 MB / 396.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007667/0.3391, allocations: 2.919 MB / 399.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00932/0.3485, allocations: 3.183 MB / 402.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00952/0.358, allocations: 5.679 MB / 408.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01468/0.3727, allocations: 7.337 MB / 415.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02369/0.3963, allocations: 18.3 MB / 433.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3964, allocations: 3.938 kB / 433.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3964, allocations: 0 / 433.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008258/0.3972, allocations: 0 / 433.8 MB, free: 12.51 MB / 362.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.03652/0.4337, allocations: 20.89 MB / 454.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4337, allocations: 8.031 kB / 454.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03158/0.4653, allocations: 8.602 MB / 463.3 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.48, allocations: 5.972 MB / 469.3 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/0.4812, allocations: 1.344 MB / 470.6 MB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00435/0.4855, allocations: 1.755 MB / 472.4 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/0.5231, allocations: 14.41 MB / 486.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005845/0.5237, allocations: 16.75 kB / 486.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/0.5272, allocations: 0.727 MB / 487.5 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006962/0.5279, allocations: 0.8454 MB / 488.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.5512, allocations: 6.919 MB / 495.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2422/0.7934, allocations: 53.39 MB / 0.5358 GB, free: 76.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008348/0.8018, allocations: 6.612 MB / 0.5423 GB, free: 75.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/0.8046, allocations: 2.095 MB / 0.5443 GB, free: 74.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.8049, allocations: 148.7 kB / 0.5445 GB, free: 74.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.805, allocations: 97.05 kB / 0.5446 GB, free: 74.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=577): time 8.596e-06/0.805, allocations: 0 / 0.5446 GB, free: 74.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=577): time 0.01332/0.8183, allocations: 6.61 MB / 0.551 GB, free: 70.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.8184, allocations: 137.6 kB / 0.5512 GB, free: 69.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.8224, allocations: 4.16 MB / 0.5552 GB, free: 66.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/0.8229, allocations: 117.7 kB / 0.5553 GB, free: 66.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002256/0.8251, allocations: 7.337 MB / 0.5625 GB, free: 59.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.8264, allocations: 2.08 MB / 0.5645 GB, free: 57.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/0.8281, allocations: 1.913 MB / 0.5664 GB, free: 55.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.474e-05/0.8281, allocations: 301.1 kB / 0.5667 GB, free: 55.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.8298, allocations: 1.448 MB / 0.5681 GB, free: 54.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.8323, allocations: 5.714 MB / 0.5737 GB, free: 46.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/0.838, allocations: 8.097 MB / 0.5816 GB, free: 37.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.8381, allocations: 51.56 kB / 0.5816 GB, free: 37.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008759/0.8469, allocations: 6.71 MB / 0.5882 GB, free: 31.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.847, allocations: 76 kB / 0.5883 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.8471, allocations: 160 kB / 0.5884 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/0.8501, allocations: 1.512 MB / 0.5899 GB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/0.8549, allocations: 2.279 MB / 0.5921 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.8604, allocations: 5.555 MB / 0.5975 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/0.8656, allocations: 1.187 MB / 0.5987 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.8666, allocations: 444 kB / 0.5991 GB, free: 20.48 MB / 410.7 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.003819/0.8704, allocations: 0.8418 MB / 0.5999 GB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009634/0.8714, allocations: 0.5295 MB / 0.6005 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.8763, allocations: 4.433 MB / 0.6048 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002486/0.8788, allocations: 2.163 MB / 0.6069 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.8788, allocations: 16 kB / 0.6069 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.8788, allocations: 31.88 kB / 0.6069 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/0.9043, allocations: 12.87 MB / 0.6195 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.9044, allocations: 11.98 kB / 0.6195 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.9066, allocations: 0.8878 MB / 0.6204 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/0.9095, allocations: 1.318 MB / 0.6217 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005694/0.9101, allocations: 116 kB / 0.6218 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.9166, allocations: 5.237 MB / 0.6269 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.9166, allocations: 11.84 kB / 0.6269 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007085/0.9237, allocations: 4.514 MB / 0.6313 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.9257, allocations: 0.83 MB / 0.6321 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007642/0.9265, allocations: 104 kB / 0.6322 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.9278, allocations: 164.1 kB / 0.6324 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.9284, allocations: 407.7 kB / 0.6328 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/0.9287, allocations: 120 kB / 0.6329 GB, free: 4.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002321/0.931, allocations: 1.825 MB / 0.6347 GB, free: 2.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.931, allocations: 0 / 0.6347 GB, free: 2.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.1531/1.084, allocations: 4.112 MB / 0.6387 GB, free: 96.9 MB / 426.7 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.001408/1.085, allocations: 321.8 kB / 0.639 GB, free: 96.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007694/1.093, allocations: 5.111 MB / 0.644 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002925/1.093, allocations: 122.6 kB / 0.6441 GB, free: 96.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/1.096, allocations: 2.181 MB / 0.6462 GB, free: 96.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.1, allocations: 1.471 MB / 0.6477 GB, free: 95.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/1.138, allocations: 24.34 MB / 0.6714 GB, free: 87.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006033/1.144, allocations: 3.354 MB / 0.6747 GB, free: 86.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003975/1.148, allocations: 1.117 MB / 0.6758 GB, free: 86.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.15, allocations: 1.363 MB / 0.6771 GB, free: 86.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/1.15, allocations: 0 / 0.6771 GB, free: 86.34 MB / 426.7 MB Notification: Performance of Templates: time 0.1185/1.269, allocations: 98.5 MB / 0.7733 GB, free: 14.78 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.417287969961762]