Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001865/0.001865, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001962/0.001962, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.715e-05, allocations: 6.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00557/0.005597, allocations: 3.48 MB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.00741, allocations: 0.9386 MB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.007595, allocations: 11.94 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.007879, allocations: 91.05 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.0083, allocations: 170.6 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.008685, allocations: 175.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.009458, allocations: 0.6579 MB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.00972, allocations: 126 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.01022, allocations: 367.2 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.01055, allocations: 199.4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/0.01064, allocations: 56 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.01075, allocations: 52 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01089, allocations: 131.4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.01113, allocations: 191.5 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008172/0.01195, allocations: 0.6462 MB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01195, allocations: 3.984 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01195, allocations: 0 / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01196, allocations: 0 / 279.6 MB, free: 10.55 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00172/0.01368, allocations: 0.9241 MB / 280.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.01373, allocations: 12.03 kB / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.01392, allocations: 104.5 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.01442, allocations: 300.2 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.01447, allocations: 45.69 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.01456, allocations: 48.38 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.01541, allocations: 419 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01543, allocations: 192 / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.01548, allocations: 23.94 kB / 281.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.0155, allocations: 15.94 kB / 281.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.01636, allocations: 365.1 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.01918, allocations: 1.431 MB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.01989, allocations: 317.3 kB / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.02028, allocations: 164.2 kB / 283.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.02033, allocations: 12.31 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.02037, allocations: 37.72 kB / 283.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.02037, allocations: 0 / 283.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.003154/0.02353, allocations: 1.146 MB / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.02359, allocations: 59.91 kB / 285 MB, free: 4.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.02422, allocations: 0.5025 MB / 285.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.02426, allocations: 33.7 kB / 285.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.02459, allocations: 383.3 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.02479, allocations: 206.3 kB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.02501, allocations: 135.9 kB / 286.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003448/0.02535, allocations: 0.547 MB / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.02576, allocations: 165.2 kB / 286.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.02634, allocations: 342.7 kB / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009922/0.02733, allocations: 0.5311 MB / 287.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02733, allocations: 0 / 287.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001555/0.02889, allocations: 0.754 MB / 288.5 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.02891, allocations: 8 kB / 288.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.02892, allocations: 7.984 kB / 288.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.03018, allocations: 267 kB / 288.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.03067, allocations: 115.8 kB / 288.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1212/0.1519, allocations: 5.24 MB / 294.2 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.1523, allocations: 27.08 kB / 294.2 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.1523, allocations: 22.81 kB / 294.2 MB, free: 23.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0002139/0.1525, allocations: 226.4 kB / 294.4 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.1526, allocations: 67.22 kB / 294.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.1528, allocations: 61.7 kB / 294.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1528, allocations: 6.266 kB / 294.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.1528, allocations: 6.688 kB / 294.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1528, allocations: 4.203 kB / 294.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.1548, allocations: 1.281 MB / 295.9 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1548, allocations: 3.156 kB / 295.9 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1551, allocations: 62.95 kB / 295.9 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.1562, allocations: 258.5 kB / 296.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1562, allocations: 8.844 kB / 296.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.1595, allocations: 5.078 MB / 301.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1595, allocations: 5.406 kB / 301.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1607, allocations: 0.7571 MB / 302 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.1607, allocations: 53.06 kB / 302.1 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.1608, allocations: 12.53 kB / 302.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.161, allocations: 25.02 kB / 302.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1611, allocations: 44.84 kB / 302.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1612, allocations: 15.48 kB / 302.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1615, allocations: 332.5 kB / 302.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1615, allocations: 0 / 302.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006882/0.1621, allocations: 149.9 kB / 302.6 MB, free: 17.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.00012/0.1623, allocations: 113.5 kB / 302.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.1636, allocations: 0.9017 MB / 303.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1636, allocations: 0.9688 kB / 303.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.1642, allocations: 0.6391 MB / 304.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1647, allocations: 53.14 kB / 304.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1661, allocations: 0.9788 MB / 305.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1664, allocations: 263.5 kB / 305.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1665, allocations: 46.05 kB / 305.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.1666, allocations: 30.42 kB / 305.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1666, allocations: 0 / 305.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01016/0.1768, allocations: 5.238 MB / 310.9 MB, free: 14.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.782763245981187]