Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0009132/0.0009132, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.000913/0.000913, allocations: 173.6 kB / 24.91 MB, free: 8.762 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.8988/0.8988, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.564e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004561/0.004577, allocations: 4.922 MB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.00727, allocations: 2.147 MB / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.007472, allocations: 16 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.009189, allocations: 1.474 MB / 282.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007036/0.009893, allocations: 429.1 kB / 282.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.0112, allocations: 1.151 MB / 283.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.01185, allocations: 0.7586 MB / 284.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.0125, allocations: 0.6124 MB / 285 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.01295, allocations: 490.9 kB / 285.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.01327, allocations: 343 kB / 285.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.01335, allocations: 64 kB / 285.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.0139, allocations: 415.3 kB / 286.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.355e-05/0.01399, allocations: 167.3 kB / 286.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.01416, allocations: 255.3 kB / 286.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.01497, allocations: 0.8915 MB / 287.6 MB, free: 3.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01497, allocations: 4 kB / 287.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01497, allocations: 0 / 287.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.01498, allocations: 0 / 287.6 MB, free: 3.07 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002488/0.01747, allocations: 1.455 MB / 289 MB, free: 1.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.0175, allocations: 8.031 kB / 289.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.01907, allocations: 0.5158 MB / 289.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.01921, allocations: 197.5 kB / 289.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.01926, allocations: 58.38 kB / 289.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.01935, allocations: 92.33 kB / 289.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.02001, allocations: 0.6518 MB / 290.6 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.02004, allocations: 192 / 290.6 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1127/0.1328, allocations: 38.39 kB / 290.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.1328, allocations: 18.88 kB / 290.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.1334, allocations: 289.6 kB / 290.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.1362, allocations: 1.891 MB / 292.8 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.1366, allocations: 342.2 kB / 293.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1368, allocations: 94.28 kB / 293.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.1368, allocations: 26.14 kB / 293.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1369, allocations: 43.52 kB / 293.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.653e-06/0.1369, allocations: 0 / 293.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001111/0.138, allocations: 0.5682 MB / 293.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.138, allocations: 83.33 kB / 293.9 MB, free: 18.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1382, allocations: 285.4 kB / 294.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1382, allocations: 35.7 kB / 294.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1383, allocations: 369.6 kB / 294.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.1384, allocations: 209.2 kB / 294.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1386, allocations: 141 kB / 295 MB, free: 17.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.1386, allocations: 349.9 kB / 295.3 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1387, allocations: 76.73 kB / 295.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.1389, allocations: 345 kB / 295.7 MB, free: 17.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.1393, allocations: 468.7 kB / 296.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1393, allocations: 2.344 kB / 296.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005714/0.1399, allocations: 463.9 kB / 296.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1399, allocations: 7.5 kB / 296.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1399, allocations: 8.641 kB / 296.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.1402, allocations: 80.02 kB / 296.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.1406, allocations: 177.5 kB / 296.9 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008226/0.1414, allocations: 2.397 MB / 299.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.1417, allocations: 85.2 kB / 299.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.1418, allocations: 27.14 kB / 299.4 MB, free: 14.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.1419, allocations: 160.2 kB / 299.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.1419, allocations: 49.52 kB / 299.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.1424, allocations: 340.5 kB / 299.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1424, allocations: 8.047 kB / 299.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1424, allocations: 5.734 kB / 299.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1424, allocations: 3.094 kB / 299.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.1432, allocations: 0.6545 MB / 300.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1432, allocations: 6.5 kB / 300.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1435, allocations: 101 kB / 300.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.1437, allocations: 77.56 kB / 300.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1437, allocations: 12.38 kB / 300.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/0.1444, allocations: 2.378 MB / 303.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1444, allocations: 5.141 kB / 303.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.1449, allocations: 482.7 kB / 303.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.145, allocations: 54.28 kB / 303.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1451, allocations: 13.48 kB / 303.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1452, allocations: 20.2 kB / 303.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.1453, allocations: 46.03 kB / 303.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1453, allocations: 10.86 kB / 303.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.1454, allocations: 95.97 kB / 303.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1454, allocations: 0 / 303.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.1459, allocations: 218.2 kB / 304.1 MB, free: 11.51 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (55): * Single equations (assignments): 53 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.146, allocations: 141.7 kB / 304.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.1465, allocations: 0.5525 MB / 304.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.1465, allocations: 5.844 kB / 304.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.1468, allocations: 400.7 kB / 305.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.147, allocations: 49.55 kB / 305.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1485, allocations: 1.056 MB / 306.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.1485, allocations: 132.7 kB / 306.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000229/0.1488, allocations: 78.44 kB / 306.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.149, allocations: 124.7 kB / 306.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.149, allocations: 4 kB / 306.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of Templates: time 0.008844/0.1578, allocations: 6.433 MB / 313.1 MB, free: 8.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.7528415843844414]