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.001418/0.001418, allocations: 96.27 kB / 20.96 MB, free: 3.582 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.001503/0.001503, allocations: 156.8 kB / 24.27 MB, free: 284 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 1.664/1.664, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.253e-06/1.253e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.472e-05, allocations: 5.266 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.01015/0.01017, allocations: 4.591 MB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.01483, allocations: 2.024 MB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.01512, allocations: 16 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.01849, allocations: 1.372 MB / 280.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.01961, allocations: 425.1 kB / 280.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.02215, allocations: 1.132 MB / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.02313, allocations: 0.7742 MB / 282.5 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009304/0.02406, allocations: 0.5714 MB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/0.02471, allocations: 486.9 kB / 283.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.02519, allocations: 327.1 kB / 283.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.0253, allocations: 68 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007471/0.02604, allocations: 407.2 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.0262, allocations: 163.3 kB / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.02652, allocations: 255.4 kB / 284.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.02846, allocations: 1.265 MB / 286.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.02846, allocations: 4 kB / 286.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02847, allocations: 0 / 286.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.02849, allocations: 0 / 286.1 MB, free: 3.891 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.004808/0.03329, allocations: 1.413 MB / 287.5 MB, free: 2.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.03334, allocations: 11.98 kB / 287.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.03619, allocations: 0.492 MB / 288 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.03648, allocations: 200.8 kB / 288.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/0.03656, allocations: 66.38 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.03671, allocations: 84.33 kB / 288.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.03862, allocations: 0.8975 MB / 289.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.03865, allocations: 4.188 kB / 289.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.03874, allocations: 39.94 kB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.03876, allocations: 20 kB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1095/0.1483, allocations: 0.7809 MB / 290.1 MB, free: 28.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.1523, allocations: 2.324 MB / 292.4 MB, free: 27.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1533, allocations: 0.5051 MB / 292.9 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.1538, allocations: 218 kB / 293.1 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1539, allocations: 29.62 kB / 293.1 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1539, allocations: 40.72 kB / 293.2 MB, free: 26.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.1539, allocations: 0 / 293.2 MB, free: 26.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007364/0.1613, allocations: 2.187 MB / 295.4 MB, free: 25.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1613, allocations: 90.16 kB / 295.4 MB, free: 25.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1617, allocations: 319.5 kB / 295.8 MB, free: 25.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1617, allocations: 36.55 kB / 295.8 MB, free: 25.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1619, allocations: 378.3 kB / 296.2 MB, free: 25.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.162, allocations: 215.7 kB / 296.4 MB, free: 25.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.1622, allocations: 148.4 kB / 296.5 MB, free: 25.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.1623, allocations: 348.4 kB / 296.9 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.163, allocations: 276 kB / 297.1 MB, free: 24.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008103/0.1638, allocations: 0.5212 MB / 297.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.1653, allocations: 0.8105 MB / 298.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1653, allocations: 3.5 kB / 298.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002014/0.1674, allocations: 0.9347 MB / 299.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1674, allocations: 8.516 kB / 299.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1674, allocations: 7.625 kB / 299.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/0.1681, allocations: 97.34 kB / 299.5 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.1689, allocations: 203.3 kB / 299.7 MB, free: 23.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.1703, allocations: 2.612 MB / 302.3 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.171, allocations: 66.48 kB / 302.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.1711, allocations: 34.27 kB / 302.4 MB, free: 20.83 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.0002537/0.1713, allocations: 217.9 kB / 302.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1714, allocations: 62.86 kB / 302.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.1732, allocations: 0.7372 MB / 303.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1732, allocations: 6 kB / 303.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1732, allocations: 5.031 kB / 303.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1733, allocations: 3.469 kB / 303.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.1755, allocations: 1.21 MB / 304.6 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1755, allocations: 0 / 304.6 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.1762, allocations: 129 kB / 304.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/0.1768, allocations: 88.2 kB / 304.9 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.1768, allocations: 24.83 kB / 304.9 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.178, allocations: 2.601 MB / 307.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.178, allocations: 1.906 kB / 307.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.1803, allocations: 1.093 MB / 308.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.1805, allocations: 86.52 kB / 308.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.1805, allocations: 11.91 kB / 308.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.181, allocations: 51.08 kB / 308.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1811, allocations: 50.75 kB / 308.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.1812, allocations: 23.39 kB / 308.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1813, allocations: 208.3 kB / 309 MB, free: 16.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 309 MB, free: 16.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000668/0.182, allocations: 182.2 kB / 309.2 MB, free: 16.34 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.0002119/0.1822, allocations: 162 kB / 309.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.1839, allocations: 0.8745 MB / 310.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.1839, allocations: 0 / 310.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.1847, allocations: 0.5246 MB / 310.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1851, allocations: 60.66 kB / 310.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1873, allocations: 1.17 MB / 312 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1875, allocations: 286.8 kB / 312.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.1878, allocations: 88.39 kB / 312.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.188, allocations: 52.42 kB / 312.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.188, allocations: 7.062 kB / 312.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01039/0.1984, allocations: 6.486 MB / 318.9 MB, free: 7.266 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.803628491004929]