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.001486/0.001486, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001425/0.001425, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 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 0.001524/0.001524, allocations: 47.92 kB / 374.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.2119/0.3166, allocations: 5.105 MB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.32, allocations: 2.185 MB / 434.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.3204, allocations: 17.91 kB / 434.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.3233, allocations: 1.402 MB / 436.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3247, allocations: 430.4 kB / 436.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.3269, allocations: 1.21 MB / 437.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3282, allocations: 0.7465 MB / 438.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009342/0.3291, allocations: 0.5055 MB / 439.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.3297, allocations: 344.5 kB / 439.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.3302, allocations: 428.1 kB / 439.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3303, allocations: 68.97 kB / 439.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.3315, allocations: 416.8 kB / 440.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3316, allocations: 168.8 kB / 440.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.332, allocations: 380 kB / 440.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.334, allocations: 1.221 MB / 442.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.334, allocations: 1.312 kB / 442.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.334, allocations: 0 / 442.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.334, allocations: 0 / 442.1 MB, free: 4.938 MB / 350.1 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.004807/0.3388, allocations: 1.495 MB / 443.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3389, allocations: 9.375 kB / 443.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.3416, allocations: 362.5 kB / 443.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3419, allocations: 256.8 kB / 444.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.3419, allocations: 60.28 kB / 444.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.3421, allocations: 85.78 kB / 444.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.3438, allocations: 0.8801 MB / 445.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.3438, allocations: 5.047 kB / 445.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.3439, allocations: 35.23 kB / 445.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.3439, allocations: 21.31 kB / 445.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3457, allocations: 0.7901 MB / 446.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.35, allocations: 3.027 MB / 449.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3511, allocations: 0.9637 MB / 450.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.3516, allocations: 212 kB / 450.3 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.3518, allocations: 183.2 kB / 450.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.3518, allocations: 39.36 kB / 450.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.434e-06/0.3518, allocations: 0 / 450.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.008022/0.3599, allocations: 2.403 MB / 452.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.36, allocations: 88.72 kB / 453 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.3604, allocations: 318.9 kB / 453.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.3604, allocations: 40.45 kB / 453.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.3607, allocations: 371.9 kB / 453.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.3609, allocations: 223.3 kB / 453.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.3612, allocations: 145.9 kB / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3613, allocations: 352 kB / 454.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.3621, allocations: 272.9 kB / 454.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.363, allocations: 0.5054 MB / 455.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.3648, allocations: 0.8046 MB / 456 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3648, allocations: 2.75 kB / 456 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002213/0.367, allocations: 0.9015 MB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.367, allocations: 12.84 kB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3671, allocations: 8.328 kB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.3673, allocations: 71.38 kB / 457 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/0.3682, allocations: 199.6 kB / 457.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3706, allocations: 2.869 MB / 460 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.3714, allocations: 60.62 kB / 460.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.3715, allocations: 35.06 kB / 460.1 MB, free: 9.277 MB / 366.1 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.0003589/0.3718, allocations: 223.2 kB / 460.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3719, allocations: 42.77 kB / 460.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.3739, allocations: 0.7288 MB / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.374, allocations: 6.406 kB / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.374, allocations: 4 kB / 461.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.374, allocations: 9.234 kB / 461.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.3768, allocations: 1.409 MB / 462.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3768, allocations: 0 / 462.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/0.3775, allocations: 134.1 kB / 462.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.3777, allocations: 63.14 kB / 462.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.3777, allocations: 16.36 kB / 462.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.38, allocations: 2.854 MB / 465.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.38, allocations: 0 / 465.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.3827, allocations: 1.077 MB / 466.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.383, allocations: 173.8 kB / 466.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.383, allocations: 11.38 kB / 466.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.3835, allocations: 43.77 kB / 466.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3837, allocations: 41.34 kB / 466.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3837, allocations: 19.8 kB / 467 MB, free: 3.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.384, allocations: 221.5 kB / 467.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.384, allocations: 4 kB / 467.2 MB, free: 3.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008578/0.3848, allocations: 182.7 kB / 467.3 MB, free: 3.68 MB / 366.1 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.0002948/0.3851, allocations: 164.9 kB / 467.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3872, allocations: 0.876 MB / 468.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3872, allocations: 0 / 468.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3883, allocations: 0.5252 MB / 468.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3888, allocations: 46.66 kB / 469 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3915, allocations: 1.251 MB / 470.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.392, allocations: 0.8844 MB / 471.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.3923, allocations: 63.52 kB / 471.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3923, allocations: 0 / 471.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01913/0.4114, allocations: 13.63 MB / 484.8 MB, free: 5.887 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/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: 8.183234658004949]