Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009888/0.0009888, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9972/0.9972, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 4 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/4.093e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007747/0.007788, allocations: 5.028 MB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.01213, allocations: 2.09 MB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.01254, allocations: 19.94 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.0151, allocations: 1.482 MB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.0164, allocations: 433.1 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.0184, allocations: 1.16 MB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.01951, allocations: 0.7703 MB / 283.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.02058, allocations: 0.5792 MB / 284.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.02138, allocations: 490.9 kB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.02195, allocations: 335.1 kB / 285.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.0221, allocations: 71.98 kB / 285.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.02315, allocations: 403.3 kB / 285.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.0233, allocations: 171.3 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.0236, allocations: 259.3 kB / 286.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.0251, allocations: 0.9032 MB / 287.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.02511, allocations: 0 / 287.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02511, allocations: 0 / 287.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.02513, allocations: 0 / 287.1 MB, free: 3.227 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.003958/0.02909, allocations: 1.517 MB / 288.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.02914, allocations: 11.98 kB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.03172, allocations: 0.492 MB / 289.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.03199, allocations: 215.6 kB / 289.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.03206, allocations: 58.38 kB / 289.4 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.03224, allocations: 88.33 kB / 289.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.0336, allocations: 0.7085 MB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.03364, allocations: 8.172 kB / 290.2 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.03372, allocations: 43.92 kB / 290.2 MB, free: 0 / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1311/0.1649, allocations: 17.2 kB / 290.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1661, allocations: 432 kB / 290.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.1693, allocations: 2.288 MB / 292.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.1699, allocations: 427.3 kB / 293.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1701, allocations: 132.6 kB / 293.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.1702, allocations: 28.95 kB / 293.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1702, allocations: 41.45 kB / 293.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.316e-06/0.1702, allocations: 2.75 kB / 293.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002648/0.1729, allocations: 1.323 MB / 294.9 MB, free: 17.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1729, allocations: 84.08 kB / 295 MB, free: 17.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1732, allocations: 373.2 kB / 295.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1732, allocations: 38.09 kB / 295.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1734, allocations: 425.1 kB / 295.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1735, allocations: 225 kB / 296 MB, free: 16.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.1737, allocations: 153.5 kB / 296.2 MB, free: 16.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.1738, allocations: 0.5267 MB / 296.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.174, allocations: 120.6 kB / 296.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1744, allocations: 493.7 kB / 297.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.175, allocations: 0.6255 MB / 297.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.175, allocations: 2.594 kB / 297.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009506/0.176, allocations: 0.6541 MB / 298.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.176, allocations: 8.75 kB / 298.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.176, allocations: 7.438 kB / 298.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.1764, allocations: 99.81 kB / 298.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.1768, allocations: 187.1 kB / 298.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1781, allocations: 3.544 MB / 302.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.1784, allocations: 44.8 kB / 302.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.1784, allocations: 38.83 kB / 302.5 MB, free: 11.99 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.0001757/0.1786, allocations: 207.8 kB / 302.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.1787, allocations: 62.03 kB / 302.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.1795, allocations: 492.2 kB / 303.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1795, allocations: 5.984 kB / 303.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1795, allocations: 5.469 kB / 303.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1795, allocations: 6.703 kB / 303.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1807, allocations: 1.03 MB / 304.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1807, allocations: 1.875 kB / 304.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.181, allocations: 111.9 kB / 304.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.1814, allocations: 90.84 kB / 304.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.1814, allocations: 14.45 kB / 304.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.1824, allocations: 3.537 MB / 308 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1824, allocations: 1.469 kB / 308 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.1833, allocations: 0.6922 MB / 308.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1834, allocations: 86.94 kB / 308.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1834, allocations: 15.31 kB / 308.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1836, allocations: 30.14 kB / 308.8 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1838, allocations: 52.89 kB / 308.9 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1838, allocations: 23.12 kB / 308.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1839, allocations: 230.1 kB / 309.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1839, allocations: 0 / 309.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.1845, allocations: 187 kB / 309.3 MB, free: 6.949 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.0002388/0.1848, allocations: 159.6 kB / 309.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.1856, allocations: 0.7674 MB / 310.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1856, allocations: 0 / 310.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.186, allocations: 0.5312 MB / 310.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1863, allocations: 59.19 kB / 310.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1883, allocations: 1.096 MB / 311.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.306e-05/0.1884, allocations: 141.8 kB / 312.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.1886, allocations: 90.44 kB / 312.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1887, allocations: 49.67 kB / 312.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1887, allocations: 0 / 312.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of Templates: time 0.009163/0.1979, allocations: 6.535 MB / 318.7 MB, free: 2.164 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.1893279952928424]