Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.927/0.927, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.45e-05, allocations: 2.312 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008233/0.008258, allocations: 6.596 MB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004074/0.01233, allocations: 2.397 MB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.01278, allocations: 20 kB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.01589, allocations: 1.999 MB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.0172, allocations: 0.5548 MB / 284.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.01927, allocations: 1.277 MB / 285.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.02053, allocations: 1.163 MB / 286.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.02174, allocations: 0.8252 MB / 287.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.02262, allocations: 0.7054 MB / 288.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.02309, allocations: 490.7 kB / 289 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.02319, allocations: 100 kB / 289.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.02388, allocations: 431.3 kB / 289.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.02405, allocations: 251 kB / 289.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.02448, allocations: 391 kB / 290.1 MB, free: 176 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1157/0.1402, allocations: 1.179 MB / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1402, allocations: 0 / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1402, allocations: 4.641 kB / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.1402, allocations: 5.703 kB / 291.3 MB, free: 16.68 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.00347/0.1437, allocations: 2.084 MB / 293.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1437, allocations: 13.73 kB / 293.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.1457, allocations: 0.7066 MB / 294.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1459, allocations: 258.1 kB / 294.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.146, allocations: 98.39 kB / 294.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.1461, allocations: 130.6 kB / 294.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1475, allocations: 1.039 MB / 295.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.1475, allocations: 3.141 kB / 295.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.1476, allocations: 55.16 kB / 295.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1476, allocations: 34.5 kB / 295.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1487, allocations: 0.6464 MB / 296.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1525, allocations: 3.244 MB / 299.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1537, allocations: 0.9732 MB / 300.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1541, allocations: 300 kB / 300.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.796e-05/0.1542, allocations: 45.53 kB / 300.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1542, allocations: 59.02 kB / 301 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.786e-06/0.1542, allocations: 1.219 kB / 301 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003783/0.158, allocations: 2.408 MB / 303.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1581, allocations: 92.25 kB / 303.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1583, allocations: 435.1 kB / 303.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1583, allocations: 44.61 kB / 303.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1585, allocations: 0.5034 MB / 304.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.1586, allocations: 451.7 kB / 304.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.1588, allocations: 245.5 kB / 305.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.1589, allocations: 0.5494 MB / 305.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1592, allocations: 218 kB / 305.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.1596, allocations: 0.6016 MB / 306.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.1603, allocations: 0.8539 MB / 307.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1603, allocations: 7.875 kB / 307.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00116/0.1615, allocations: 1.085 MB / 308.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1615, allocations: 8.156 kB / 308.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1615, allocations: 10.28 kB / 308.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.1621, allocations: 266.5 kB / 308.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.1626, allocations: 270.2 kB / 309 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1647, allocations: 4.852 MB / 313.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.1651, allocations: 59.17 kB / 313.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.1652, allocations: 53.41 kB / 313.9 MB, free: 5.387 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.0002026/0.1654, allocations: 235.5 kB / 314.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1655, allocations: 109.4 kB / 314.3 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.1665, allocations: 0.9449 MB / 315.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1665, allocations: 16 kB / 315.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1665, allocations: 4 kB / 315.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1665, allocations: 3.984 kB / 315.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.1683, allocations: 1.853 MB / 317.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1683, allocations: 3.984 kB / 317.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.1688, allocations: 194.4 kB / 317.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.1692, allocations: 232.3 kB / 317.5 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.1693, allocations: 27.98 kB / 317.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.1713, allocations: 4.71 MB / 322.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1713, allocations: 3.562 kB / 322.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.1728, allocations: 1.256 MB / 323.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.173, allocations: 159.4 kB / 323.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.173, allocations: 20 kB / 323.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.1733, allocations: 43.61 kB / 323.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1734, allocations: 100.6 kB / 323.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.1735, allocations: 38.83 kB / 323.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.1737, allocations: 275 kB / 324.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1737, allocations: 0 / 324.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007833/0.1744, allocations: 304 kB / 324.4 MB, free: 11.14 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.0002429/0.1747, allocations: 169.1 kB / 324.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.1759, allocations: 1.18 MB / 325.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1759, allocations: 0 / 325.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.1766, allocations: 0.786 MB / 326.5 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1769, allocations: 82.89 kB / 326.6 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.1793, allocations: 1.739 MB / 328.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.1795, allocations: 191.8 kB / 328.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.1798, allocations: 146.6 kB / 328.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.18, allocations: 80.45 kB / 328.8 MB, free: 6.695 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.18, allocations: 0 / 328.8 MB, free: 6.695 MB / 282.7 MB Notification: Performance of Templates: time 0.01364/0.1936, allocations: 11.18 MB / 340 MB, free: 11.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.029806634876877]