Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001002/0.001002, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001058/0.001058, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9723/0.9723, allocations: 177.1 MB / 205 MB, free: 5.617 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.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.583e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008789/0.008814, allocations: 6.603 MB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.01377, allocations: 2.389 MB / 282 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006158/0.01439, allocations: 24 kB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003923/0.01831, allocations: 1.991 MB / 284 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.01992, allocations: 0.5547 MB / 284.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.02242, allocations: 1.277 MB / 285.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.02383, allocations: 1.163 MB / 287 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.02517, allocations: 0.8252 MB / 287.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009956/0.02617, allocations: 0.7015 MB / 288.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.02682, allocations: 498.6 kB / 289 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.02698, allocations: 100 kB / 289.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008707/0.02785, allocations: 419.4 kB / 289.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.02804, allocations: 262.9 kB / 289.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.02846, allocations: 383 kB / 290.1 MB, free: 280 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1149/0.1434, allocations: 1.186 MB / 291.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1434, allocations: 0 / 291.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1434, allocations: 1 kB / 291.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.1434, allocations: 0 / 291.3 MB, free: 16.73 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003945/0.1474, allocations: 2.092 MB / 293.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1474, allocations: 9.062 kB / 293.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.1496, allocations: 0.71 MB / 294.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1499, allocations: 250.5 kB / 294.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.1499, allocations: 100.4 kB / 294.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.1501, allocations: 130.6 kB / 294.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.1517, allocations: 1.039 MB / 295.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.1518, allocations: 3.125 kB / 295.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.1519, allocations: 56.03 kB / 295.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1519, allocations: 37.73 kB / 295.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1531, allocations: 0.6474 MB / 296.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.1573, allocations: 3.242 MB / 299.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1586, allocations: 0.9873 MB / 300.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.159, allocations: 296.1 kB / 300.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1591, allocations: 51.14 kB / 301 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1591, allocations: 47.64 kB / 301 MB, free: 14.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.1591, allocations: 1.062 kB / 301 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.00389/0.163, allocations: 2.416 MB / 303.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.163, allocations: 90.8 kB / 303.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1633, allocations: 425.7 kB / 303.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.1633, allocations: 45.39 kB / 304 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1635, allocations: 0.5038 MB / 304.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.1636, allocations: 458 kB / 304.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1638, allocations: 244.2 kB / 305.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.1639, allocations: 0.5538 MB / 305.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.1642, allocations: 211 kB / 305.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1646, allocations: 0.603 MB / 306.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.1654, allocations: 0.8529 MB / 307.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1654, allocations: 2.938 kB / 307.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001178/0.1665, allocations: 1.092 MB / 308.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1666, allocations: 7.75 kB / 308.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1666, allocations: 7.875 kB / 308.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.1672, allocations: 260.7 kB / 308.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.1677, allocations: 278.8 kB / 309 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.1697, allocations: 4.852 MB / 313.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.17, allocations: 56.44 kB / 313.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.1701, allocations: 54.34 kB / 314 MB, free: 5.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.1703, allocations: 241.7 kB / 314.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1704, allocations: 105.7 kB / 314.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.1714, allocations: 0.9382 MB / 315.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1714, allocations: 15.98 kB / 315.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1714, allocations: 8 kB / 315.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.1714, allocations: 3.984 kB / 315.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1733, allocations: 1.847 MB / 317.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1733, allocations: 3.047 kB / 317.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.1737, allocations: 197.2 kB / 317.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.1742, allocations: 231.6 kB / 317.6 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.1743, allocations: 34.83 kB / 317.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.1762, allocations: 4.715 MB / 322.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1762, allocations: 5.016 kB / 322.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1777, allocations: 1.254 MB / 323.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1779, allocations: 156.8 kB / 323.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.1779, allocations: 20 kB / 323.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.1782, allocations: 39.98 kB / 323.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.1783, allocations: 100.5 kB / 323.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.1784, allocations: 35.98 kB / 323.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1786, allocations: 271 kB / 324.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 0 / 324.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007547/0.1793, allocations: 308 kB / 324.5 MB, free: 11.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.1796, allocations: 172.5 kB / 324.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.1808, allocations: 1.177 MB / 325.8 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1808, allocations: 8.25 kB / 325.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.1815, allocations: 0.7812 MB / 326.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1818, allocations: 85.59 kB / 326.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1844, allocations: 1.74 MB / 328.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.1845, allocations: 191.8 kB / 328.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.1849, allocations: 146.6 kB / 328.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.185, allocations: 76.47 kB / 328.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.185, allocations: 4 kB / 328.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of Templates: time 0.0135/0.1985, allocations: 10.39 MB / 339.2 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.3612889195792377]