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.001218/0.001218, allocations: 76.08 kB / 21.18 MB, free: 3.387 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.001294/0.001294, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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 1.026/1.026, allocations: 173.4 MB / 201.1 MB, free: 9.34 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.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.736e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003717/0.003744, allocations: 3.497 MB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.00521, allocations: 0.8958 MB / 272.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.005394, allocations: 11.94 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.005632, allocations: 99.02 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.005955, allocations: 166.7 kB / 272.7 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006267, allocations: 175.7 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.006739, allocations: 0.6463 MB / 273.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.006947, allocations: 133.9 kB / 273.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006922/0.007639, allocations: 375.1 kB / 274 MB, free: 424 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007842, allocations: 195.4 kB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.007899, allocations: 52 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.325e-05/0.007953, allocations: 56 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.008034, allocations: 127.6 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.008162, allocations: 199.3 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.00852, allocations: 410.4 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.008523, allocations: 0 / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008524, allocations: 0 / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.008532, allocations: 0 / 275 MB, free: 15.39 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.0009383/0.00947, allocations: 0.8778 MB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.009517, allocations: 12.03 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.009637, allocations: 100.6 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.009965, allocations: 296.1 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.01, allocations: 41.69 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.01006, allocations: 48.38 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.01051, allocations: 347.8 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01052, allocations: 4.125 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01055, allocations: 23.94 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.01056, allocations: 12 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.01087, allocations: 207.7 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01231, allocations: 1.263 MB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.01268, allocations: 232.8 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.01286, allocations: 112.3 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.01289, allocations: 16.31 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01292, allocations: 41.72 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.01292, allocations: 0 / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001467/0.01439, allocations: 0.9195 MB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01442, allocations: 59.91 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.01471, allocations: 430.5 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01474, allocations: 33.7 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01488, allocations: 355.4 kB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.01498, allocations: 190.3 kB / 280.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01509, allocations: 123.9 kB / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.01548, allocations: 0.5235 MB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.01562, allocations: 89.25 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.01583, allocations: 254.7 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.01618, allocations: 371.9 kB / 281.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01618, allocations: 0 / 281.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006747/0.01686, allocations: 0.5822 MB / 282.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.01688, allocations: 11.98 kB / 282.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01688, allocations: 4 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.0175, allocations: 239.2 kB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.01774, allocations: 111.8 kB / 282.8 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.02033, allocations: 4.791 MB / 287.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.0205, allocations: 23.98 kB / 287.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.02052, allocations: 24 kB / 287.7 MB, free: 2.082 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.0001305/0.02065, allocations: 196.4 kB / 287.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.02098, allocations: 67.67 kB / 287.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.02104, allocations: 64.89 kB / 288 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02104, allocations: 4 kB / 288 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.02105, allocations: 4 kB / 288 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.02106, allocations: 0 / 288 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.02214, allocations: 1.024 MB / 289 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02215, allocations: 3.984 kB / 289 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.02228, allocations: 63.91 kB / 289.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.02277, allocations: 223.2 kB / 289.3 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.0228, allocations: 15.98 kB / 289.3 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1177/0.1405, allocations: 4.64 MB / 294 MB, free: 25.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1405, allocations: 1.156 kB / 294 MB, free: 25.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.1414, allocations: 0.6222 MB / 294.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1415, allocations: 47.62 kB / 294.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1415, allocations: 14.38 kB / 294.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1417, allocations: 15.36 kB / 294.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.1418, allocations: 49.28 kB / 294.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1418, allocations: 14.44 kB / 294.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002616/0.1421, allocations: 278.3 kB / 295 MB, free: 24.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1421, allocations: 0 / 295 MB, free: 24.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006349/0.1427, allocations: 149.5 kB / 295.2 MB, free: 24.89 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.0001637/0.1429, allocations: 112.7 kB / 295.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.144, allocations: 0.744 MB / 296 MB, free: 24.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.144, allocations: 0 / 296 MB, free: 24.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.1445, allocations: 0.5698 MB / 296.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1448, allocations: 47.88 kB / 296.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1461, allocations: 0.9074 MB / 297.5 MB, free: 23.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1462, allocations: 129.2 kB / 297.7 MB, free: 23.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1463, allocations: 50.02 kB / 297.7 MB, free: 23.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.1464, allocations: 33.17 kB / 297.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1464, allocations: 0 / 297.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of Templates: time 0.009598/0.156, allocations: 5.235 MB / 303 MB, free: 22.7 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: 3.103245358914137]