Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.0009873/0.0009873, allocations: 72.08 kB / 21.69 MB, free: 2.855 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.001065/0.001065, allocations: 143.7 kB / 24.97 MB, free: 8.812 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.9337/0.9337, allocations: 173.4 MB / 201.5 MB, free: 9.316 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.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.709e-05, allocations: 10.19 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003164/0.003181, allocations: 3.487 MB / 271.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004573, allocations: 0.8957 MB / 272.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.004746, allocations: 8 kB / 272.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.004958, allocations: 103 kB / 272.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.005257, allocations: 170.6 kB / 272.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.005531, allocations: 167.8 kB / 272.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.00599, allocations: 0.6463 MB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.006183, allocations: 137.9 kB / 273.7 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.006569, allocations: 367.2 kB / 274 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.006745, allocations: 207.3 kB / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.006799, allocations: 52 kB / 274.3 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.006842, allocations: 52 kB / 274.3 MB, free: 420 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.006906, allocations: 123.5 kB / 274.5 MB, free: 296 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.007027, allocations: 195.5 kB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.007436, allocations: 414.3 kB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007438, allocations: 0 / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.00744, allocations: 4 kB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.007445, allocations: 0 / 275.1 MB, free: 15.69 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.0008711/0.008316, allocations: 0.8739 MB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.008349, allocations: 8.031 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.00845, allocations: 104.6 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.00875, allocations: 296.1 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.008785, allocations: 37.69 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.008837, allocations: 56.38 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.009407, allocations: 347.7 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.009419, allocations: 192 / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.00945, allocations: 23.94 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.009462, allocations: 12 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.009788, allocations: 211.7 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01116, allocations: 1.259 MB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.01151, allocations: 229.3 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.01168, allocations: 116.3 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01171, allocations: 8.328 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.01173, allocations: 41.66 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.01173, allocations: 4 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001468/0.0132, allocations: 0.9235 MB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.01323, allocations: 59.91 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.01377, allocations: 422.5 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01379, allocations: 41.64 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.01394, allocations: 359.4 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.01403, allocations: 186.3 kB / 280.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01414, allocations: 123.9 kB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01427, allocations: 0.5235 MB / 281.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01441, allocations: 93.23 kB / 281.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.01463, allocations: 246.8 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.01499, allocations: 375.9 kB / 282 MB, free: 8.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.015, allocations: 4 kB / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006686/0.01567, allocations: 0.5743 MB / 282.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01568, allocations: 8 kB / 282.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01568, allocations: 4 kB / 282.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.01627, allocations: 246.8 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.0165, allocations: 115.8 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.01925, allocations: 4.783 MB / 287.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01941, allocations: 19.98 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01943, allocations: 28 kB / 287.7 MB, free: 2.383 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.0001237/0.01956, allocations: 196.3 kB / 287.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.01962, allocations: 67.67 kB / 288 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.01968, allocations: 60.94 kB / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01968, allocations: 8 kB / 288.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.01969, allocations: 4 kB / 288.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.0197, allocations: 3.984 kB / 288.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.02077, allocations: 1.024 MB / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02077, allocations: 0 / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.02091, allocations: 63.91 kB / 289.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.0214, allocations: 227.2 kB / 289.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.02142, allocations: 12 kB / 289.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/0.1279, allocations: 4.652 MB / 294 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1279, allocations: 1.125 kB / 294 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.1286, allocations: 0.6216 MB / 294.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1286, allocations: 45.7 kB / 294.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1286, allocations: 11.25 kB / 294.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1288, allocations: 17.8 kB / 294.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.1289, allocations: 50.36 kB / 294.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1289, allocations: 15.36 kB / 294.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1291, allocations: 275.9 kB / 295.1 MB, free: 25.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1291, allocations: 0 / 295.1 MB, free: 25.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.1296, allocations: 149.7 kB / 295.2 MB, free: 25.1 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.0001001/0.1297, allocations: 113.9 kB / 295.3 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.1305, allocations: 0.7428 MB / 296.1 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1305, allocations: 8 kB / 296.1 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.1309, allocations: 0.565 MB / 296.6 MB, free: 24.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1312, allocations: 41.88 kB / 296.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1324, allocations: 0.9068 MB / 297.6 MB, free: 23.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1325, allocations: 133.5 kB / 297.7 MB, free: 23.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1326, allocations: 45.23 kB / 297.8 MB, free: 23.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.1327, allocations: 31.48 kB / 297.8 MB, free: 23.71 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1327, allocations: 0 / 297.8 MB, free: 23.71 MB / 266.7 MB Notification: Performance of Templates: time 0.008635/0.1413, allocations: 5.24 MB / 303 MB, free: 22.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/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.8978599689435214]