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.0009524/0.0009524, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001013/0.001013, allocations: 169.2 kB / 24.82 MB, free: 9.23 MB / 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 0.9788/0.9788, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.502e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003311/0.003326, allocations: 3.452 MB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.00461, allocations: 0.9424 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.004779, allocations: 11.94 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.00498, allocations: 95.09 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.005261, allocations: 174.6 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005499, allocations: 171.7 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.005894, allocations: 0.6541 MB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.006074, allocations: 134 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.006358, allocations: 363.1 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.006538, allocations: 203.4 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.006597, allocations: 59.92 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.006649, allocations: 52 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.006949, allocations: 127.5 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.007063, allocations: 187.5 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.007365, allocations: 418.3 kB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007367, allocations: 0 / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007367, allocations: 4 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007372, allocations: 0 / 280.4 MB, free: 10.26 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.0008266/0.008199, allocations: 0.897 MB / 281.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.008231, allocations: 8.031 kB / 281.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.008321, allocations: 108.5 kB / 281.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.00857, allocations: 292.2 kB / 281.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.008601, allocations: 41.69 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.008645, allocations: 48.38 kB / 281.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.008973, allocations: 307.8 kB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008983, allocations: 4.188 kB / 282.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.009008, allocations: 23.94 kB / 282.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.009018, allocations: 12 kB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.009215, allocations: 174.2 kB / 282.3 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01052, allocations: 1.282 MB / 283.6 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.01079, allocations: 221.3 kB / 283.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.01092, allocations: 96.22 kB / 283.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.01094, allocations: 12.33 kB / 283.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.01096, allocations: 37.72 kB / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.01097, allocations: 0 / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001215/0.01218, allocations: 0.8219 MB / 284.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.01221, allocations: 55.91 kB / 284.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.01246, allocations: 430.3 kB / 285.2 MB, free: 5.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01248, allocations: 33.7 kB / 285.3 MB, free: 5.176 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.01263, allocations: 371.3 kB / 285.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.01272, allocations: 190.3 kB / 285.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.01283, allocations: 123.9 kB / 285.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01297, allocations: 0.5273 MB / 286.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.01306, allocations: 69.23 kB / 286.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01321, allocations: 238.6 kB / 286.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.01372, allocations: 339.8 kB / 287.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01372, allocations: 0 / 287.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005235/0.01425, allocations: 0.5275 MB / 287.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01426, allocations: 8 kB / 287.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01427, allocations: 4 kB / 287.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.01479, allocations: 230.6 kB / 287.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.01501, allocations: 115.8 kB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1107/0.1257, allocations: 4.669 MB / 292.6 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.126, allocations: 28.02 kB / 292.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.126, allocations: 19.69 kB / 292.7 MB, free: 22.13 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.000144/0.1262, allocations: 189.8 kB / 292.9 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.1263, allocations: 69.17 kB / 292.9 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.1263, allocations: 62.88 kB / 293 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1264, allocations: 5.797 kB / 293 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.1264, allocations: 6.219 kB / 293 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1264, allocations: 4.875 kB / 293 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.1276, allocations: 0.9315 MB / 293.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1276, allocations: 2.734 kB / 293.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1278, allocations: 65.91 kB / 294 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.1284, allocations: 227.5 kB / 294.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1284, allocations: 8.016 kB / 294.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.1305, allocations: 4.567 MB / 298.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1305, allocations: 4.844 kB / 298.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.131, allocations: 0.5767 MB / 299.4 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1311, allocations: 52.41 kB / 299.4 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1311, allocations: 17.09 kB / 299.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.1313, allocations: 20.83 kB / 299.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.1314, allocations: 47.84 kB / 299.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1314, allocations: 15.22 kB / 299.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.1316, allocations: 269 kB / 299.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 0 / 299.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.1323, allocations: 151.1 kB / 300 MB, free: 17.24 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.0001115/0.1324, allocations: 115.6 kB / 300.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008016/0.1332, allocations: 0.7115 MB / 300.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1332, allocations: 1 kB / 300.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.1336, allocations: 0.558 MB / 301.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.134, allocations: 49 kB / 301.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1353, allocations: 0.9036 MB / 302.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.1354, allocations: 131.4 kB / 302.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.1355, allocations: 43.69 kB / 302.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1357, allocations: 117.6 kB / 302.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1357, allocations: 1.156 kB / 302.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Templates: time 0.009929/0.1456, allocations: 5.561 MB / 308.1 MB, free: 14.43 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","",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.8062943862751126]