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.001112/0.001112, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001195/0.001195, allocations: 161.7 kB / 24.91 MB, free: 8.68 MB / 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.9907/0.9907, allocations: 177 MB / 205.2 MB, free: 5.461 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 2.003e-06/2.003e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.399e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005342/0.005366, allocations: 6.471 MB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.008092, allocations: 2.482 MB / 282.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.008341, allocations: 20 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.01026, allocations: 1.971 MB / 284.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.0111, allocations: 0.5547 MB / 284.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.01258, allocations: 1.28 MB / 286.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.01333, allocations: 1.152 MB / 287.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008653/0.0142, allocations: 0.8799 MB / 288.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.0148, allocations: 0.7054 MB / 288.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.01519, allocations: 498.6 kB / 289.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.01528, allocations: 104 kB / 289.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.01583, allocations: 439.3 kB / 290 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01595, allocations: 255 kB / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1059/0.1218, allocations: 393 kB / 290.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.1242, allocations: 1.18 MB / 291.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.1242, allocations: 0 / 291.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1242, allocations: 0 / 291.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.623e-05/0.1243, allocations: 3.062 kB / 291.8 MB, free: 16.03 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.004/0.1283, allocations: 2.055 MB / 293.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1283, allocations: 13.86 kB / 293.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.1307, allocations: 0.7443 MB / 294.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1309, allocations: 251 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.131, allocations: 94.7 kB / 294.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.1312, allocations: 134.7 kB / 295.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1325, allocations: 0.9355 MB / 296 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.1325, allocations: 1.656 kB / 296 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.1326, allocations: 52.33 kB / 296.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.1326, allocations: 38.06 kB / 296.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.1333, allocations: 430.4 kB / 296.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.1372, allocations: 2.652 MB / 299.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.1381, allocations: 0.803 MB / 300 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1383, allocations: 222.2 kB / 300.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1385, allocations: 47.83 kB / 300.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1385, allocations: 44.03 kB / 300.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/0.1385, allocations: 1.312 kB / 300.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.001992/0.1405, allocations: 1.265 MB / 301.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1405, allocations: 89.92 kB / 301.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1407, allocations: 349.2 kB / 302 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1408, allocations: 46.02 kB / 302 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1409, allocations: 456.6 kB / 302.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.141, allocations: 433.6 kB / 302.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.1412, allocations: 221.4 kB / 303.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.507e-05/0.1413, allocations: 377.6 kB / 303.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1415, allocations: 140.7 kB / 303.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1417, allocations: 433.3 kB / 304 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.1421, allocations: 0.6359 MB / 304.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.1421, allocations: 3.625 kB / 304.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0006912/0.1428, allocations: 0.7431 MB / 305.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1428, allocations: 13.09 kB / 305.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1429, allocations: 4.75 kB / 305.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.1434, allocations: 237.2 kB / 305.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.1439, allocations: 275.8 kB / 305.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.1454, allocations: 3.364 MB / 309.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.1459, allocations: 125.2 kB / 309.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.1459, allocations: 39.77 kB / 309.5 MB, free: 9.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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.0001959/0.1461, allocations: 188 kB / 309.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.1462, allocations: 80.25 kB / 309.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.1469, allocations: 0.6767 MB / 310.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1469, allocations: 13.66 kB / 310.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1469, allocations: 7.094 kB / 310.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1469, allocations: 11.31 kB / 310.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1482, allocations: 1.236 MB / 311.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1482, allocations: 0 / 311.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1486, allocations: 189.3 kB / 311.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.149, allocations: 211 kB / 312 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.149, allocations: 23.92 kB / 312.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1503, allocations: 3.24 MB / 315.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1503, allocations: 0 / 315.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.151, allocations: 0.8674 MB / 316.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1511, allocations: 106.5 kB / 316.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.1512, allocations: 20 kB / 316.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1514, allocations: 31.98 kB / 316.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1515, allocations: 92.14 kB / 316.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.1515, allocations: 23.98 kB / 316.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.414e-05/0.1516, allocations: 134.1 kB / 316.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1516, allocations: 0 / 316.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007285/0.1523, allocations: 367.2 kB / 316.9 MB, free: 3.281 MB / 266.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 (103): * Single equations (assignments): 101 * 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.0002099/0.1525, allocations: 155.6 kB / 317.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.1532, allocations: 0.9053 MB / 318 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.1532, allocations: 8.5 kB / 318 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1536, allocations: 0.5952 MB / 318.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1539, allocations: 75.64 kB / 318.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1557, allocations: 1.661 MB / 320.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1559, allocations: 191.7 kB / 320.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.1562, allocations: 138.4 kB / 320.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.1564, allocations: 159.3 kB / 320.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1564, allocations: 4 kB / 320.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Templates: time 0.0136/0.17, allocations: 10.74 MB / 331.6 MB, free: 4.887 MB / 282.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 -s gbode -gbm=radauIIA3 -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: 2.8773532202467322]