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.001763/0.001763, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001755/0.001755, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.529/1.529, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.204e-06/2.204e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.797e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007417/0.007445, allocations: 4.598 MB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.01165, allocations: 2.02 MB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.01213, allocations: 16 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.01575, allocations: 1.38 MB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01711, allocations: 425.1 kB / 280.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.01975, allocations: 1.136 MB / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.02097, allocations: 0.7703 MB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.02205, allocations: 0.5714 MB / 283.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.02286, allocations: 486.9 kB / 283.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.02341, allocations: 331.1 kB / 284 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.02355, allocations: 68 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.02443, allocations: 403.2 kB / 284.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.02459, allocations: 163.4 kB / 284.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.02493, allocations: 255.3 kB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.02691, allocations: 1.269 MB / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.02692, allocations: 0 / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02692, allocations: 0 / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.02694, allocations: 0 / 286.2 MB, free: 3.91 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.004933/0.03187, allocations: 1.41 MB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.03191, allocations: 12.03 kB / 287.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.03481, allocations: 0.492 MB / 288.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.03519, allocations: 204.8 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.0353, allocations: 62.38 kB / 288.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.03554, allocations: 88.33 kB / 288.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.03756, allocations: 0.8975 MB / 289.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.03759, allocations: 4.188 kB / 289.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.03769, allocations: 35.94 kB / 289.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.03771, allocations: 20 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1048/0.1425, allocations: 0.7846 MB / 290.2 MB, free: 28.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.1465, allocations: 2.321 MB / 292.5 MB, free: 27.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1475, allocations: 0.5039 MB / 293 MB, free: 26.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.148, allocations: 218.2 kB / 293.2 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.1481, allocations: 29.34 kB / 293.2 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1481, allocations: 43.08 kB / 293.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.1481, allocations: 2.406 kB / 293.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007328/0.1555, allocations: 2.189 MB / 295.5 MB, free: 25.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1555, allocations: 88.75 kB / 295.6 MB, free: 25.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1558, allocations: 319.2 kB / 295.9 MB, free: 25.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1559, allocations: 35.73 kB / 295.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.156, allocations: 374.9 kB / 296.3 MB, free: 25.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1561, allocations: 222.9 kB / 296.5 MB, free: 25.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1563, allocations: 144.7 kB / 296.6 MB, free: 25.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.1564, allocations: 348.3 kB / 297 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/0.1571, allocations: 270.5 kB / 297.2 MB, free: 24.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.158, allocations: 0.5281 MB / 297.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.1595, allocations: 0.8082 MB / 298.6 MB, free: 23.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.1595, allocations: 2.656 kB / 298.6 MB, free: 23.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002079/0.1616, allocations: 0.9334 MB / 299.5 MB, free: 23.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1616, allocations: 12.09 kB / 299.5 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1617, allocations: 8.312 kB / 299.5 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006506/0.1623, allocations: 99.47 kB / 299.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/0.1632, allocations: 196.3 kB / 299.8 MB, free: 23.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.1645, allocations: 2.619 MB / 302.4 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.1652, allocations: 64.36 kB / 302.5 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.1653, allocations: 39.58 kB / 302.5 MB, free: 20.82 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.0002765/0.1655, allocations: 214.9 kB / 302.8 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1657, allocations: 66.34 kB / 302.8 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1675, allocations: 0.7299 MB / 303.5 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1675, allocations: 6.875 kB / 303.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1675, allocations: 0 / 303.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1675, allocations: 5.266 kB / 303.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.1698, allocations: 1.202 MB / 304.8 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1698, allocations: 4.594 kB / 304.8 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.1705, allocations: 134.8 kB / 304.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/0.1711, allocations: 90.52 kB / 305 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.1711, allocations: 19.56 kB / 305 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1724, allocations: 2.608 MB / 307.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1724, allocations: 1.359 kB / 307.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1746, allocations: 1.091 MB / 308.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.1748, allocations: 95.02 kB / 308.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.1749, allocations: 8 kB / 308.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.1754, allocations: 48.78 kB / 308.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1755, allocations: 46.19 kB / 308.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.1755, allocations: 14.38 kB / 308.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1757, allocations: 213.7 kB / 309.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1757, allocations: 0 / 309.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000708/0.1764, allocations: 181.5 kB / 309.3 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.0002161/0.1766, allocations: 160.1 kB / 309.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1783, allocations: 0.8795 MB / 310.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1783, allocations: 3.938 kB / 310.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000807/0.1791, allocations: 0.5247 MB / 310.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1796, allocations: 55.52 kB / 310.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1817, allocations: 1.168 MB / 312.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.1818, allocations: 286.8 kB / 312.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.1822, allocations: 88.39 kB / 312.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1823, allocations: 55.42 kB / 312.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1823, allocations: 4 kB / 312.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Templates: time 0.0107/0.193, allocations: 6.489 MB / 319 MB, free: 7.293 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.681317234993912]