Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001168/0.001168, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001082/0.001082, allocations: 170.9 kB / 24.82 MB, free: 8.938 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.9137/0.9137, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.903e-05, allocations: 9.906 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006196/0.006215, allocations: 4.895 MB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.009332, allocations: 2.078 MB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.009577, allocations: 16 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.01188, allocations: 1.439 MB / 281.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009107/0.01279, allocations: 421.1 kB / 282.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.0146, allocations: 1.14 MB / 283.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.0154, allocations: 0.7742 MB / 284.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.0162, allocations: 0.5791 MB / 284.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.01679, allocations: 486.9 kB / 285.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.0172, allocations: 339.1 kB / 285.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.0173, allocations: 68 kB / 285.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.01799, allocations: 407.3 kB / 286 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.01811, allocations: 167.3 kB / 286.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.01835, allocations: 259.3 kB / 286.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.01943, allocations: 0.8993 MB / 287.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01944, allocations: 7.938 kB / 287.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01944, allocations: 0 / 287.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01944, allocations: 0 / 287.3 MB, free: 3.285 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.0036/0.02304, allocations: 1.521 MB / 288.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.02309, allocations: 12.03 kB / 288.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.02503, allocations: 0.492 MB / 289.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.02518, allocations: 203.6 kB / 289.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.02522, allocations: 70.38 kB / 289.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.02531, allocations: 80.33 kB / 289.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.026, allocations: 0.6536 MB / 290.4 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.02602, allocations: 4.188 kB / 290.4 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.02606, allocations: 39.94 kB / 290.4 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.02608, allocations: 20 kB / 290.4 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1049/0.131, allocations: 345.6 kB / 290.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.1339, allocations: 2.312 MB / 293.1 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.1344, allocations: 393.8 kB / 293.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1345, allocations: 108 kB / 293.6 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/0.1346, allocations: 36.62 kB / 293.6 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1346, allocations: 41.7 kB / 293.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.1346, allocations: 0.5 kB / 293.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002088/0.1367, allocations: 1.165 MB / 294.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1367, allocations: 88.5 kB / 294.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.137, allocations: 367 kB / 295.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.137, allocations: 36.05 kB / 295.3 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1372, allocations: 427 kB / 295.7 MB, free: 17.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1373, allocations: 228.3 kB / 295.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1374, allocations: 161.4 kB / 296.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.1375, allocations: 0.5289 MB / 296.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1377, allocations: 90.69 kB / 296.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.138, allocations: 473.8 kB / 297.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1384, allocations: 0.5815 MB / 297.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1385, allocations: 1.125 kB / 297.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007296/0.1392, allocations: 0.588 MB / 298.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1392, allocations: 12.77 kB / 298.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1392, allocations: 7.281 kB / 298.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.1395, allocations: 101.1 kB / 298.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.1399, allocations: 182 kB / 298.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.141, allocations: 3.502 MB / 302.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1413, allocations: 42.45 kB / 302.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.1414, allocations: 34.02 kB / 302.2 MB, free: 12.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0001382/0.1415, allocations: 213.9 kB / 302.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.1416, allocations: 62.97 kB / 302.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/0.1423, allocations: 445 kB / 302.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1423, allocations: 10.69 kB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1423, allocations: 1.562 kB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1423, allocations: 4.547 kB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1434, allocations: 0.9026 MB / 303.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1434, allocations: 0 / 303.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.1437, allocations: 115.2 kB / 304 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.144, allocations: 86.52 kB / 304 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.144, allocations: 13.94 kB / 304 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008612/0.1448, allocations: 3.494 MB / 307.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1448, allocations: 5.156 kB / 307.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.1455, allocations: 0.6326 MB / 308.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1457, allocations: 88.25 kB / 308.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1457, allocations: 18.88 kB / 308.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1459, allocations: 29.81 kB / 308.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.146, allocations: 47.08 kB / 308.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.146, allocations: 14.12 kB / 308.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1461, allocations: 221.5 kB / 308.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1461, allocations: 0 / 308.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00058/0.1467, allocations: 176.8 kB / 308.8 MB, free: 7.824 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 (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,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.0002121/0.1469, allocations: 169.7 kB / 308.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.1476, allocations: 0.7132 MB / 309.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1476, allocations: 3.562 kB / 309.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.1479, allocations: 0.5252 MB / 310.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1481, allocations: 60.47 kB / 310.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1497, allocations: 1.08 MB / 311.3 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.1498, allocations: 143.3 kB / 311.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.15, allocations: 89.45 kB / 311.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1502, allocations: 153.3 kB / 311.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1502, allocations: 0 / 311.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of Templates: time 0.008871/0.1591, allocations: 7.16 MB / 318.8 MB, free: 2.762 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.757795566227287]