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.001851/0.001851, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002142/0.002142, allocations: 209.3 kB / 24.48 MB, free: 3.934 MB / 14.72 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.1 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 0.001963/0.001963, allocations: 67.83 kB / 379 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 53.4 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006759/0.2947, allocations: 4.586 MB / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.2987, allocations: 2.024 MB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.2992, allocations: 12 kB / 439 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.3026, allocations: 1.306 MB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.304, allocations: 417.3 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.3065, allocations: 1.146 MB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3077, allocations: 0.7472 MB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3087, allocations: 0.5665 MB / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.3092, allocations: 338.8 kB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.3097, allocations: 386.3 kB / 443.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.685e-05/0.3098, allocations: 68 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008619/0.3106, allocations: 391.6 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3108, allocations: 167.4 kB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.3111, allocations: 310.5 kB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.3125, allocations: 1.225 MB / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3125, allocations: 0 / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3125, allocations: 3.938 kB / 446.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.3125, allocations: 0 / 446.1 MB, free: 8.816 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.00435/0.3169, allocations: 1.413 MB / 447.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3169, allocations: 15.98 kB / 447.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.3194, allocations: 360.1 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3197, allocations: 205.5 kB / 448 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.3198, allocations: 62.38 kB / 448.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.32, allocations: 80.38 kB / 448.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.3217, allocations: 0.9047 MB / 449.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.3217, allocations: 7.891 kB / 449.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.3218, allocations: 36 kB / 449.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3218, allocations: 20 kB / 449.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3236, allocations: 0.7886 MB / 449.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.328, allocations: 2.29 MB / 452.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3291, allocations: 0.5088 MB / 452.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.3296, allocations: 222.2 kB / 452.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.3297, allocations: 20.48 kB / 453 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3297, allocations: 39.06 kB / 453 MB, free: 1.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.036e-06/0.3297, allocations: 0 / 453 MB, free: 1.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007238/0.337, allocations: 2.171 MB / 455.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.337, allocations: 89.55 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.3374, allocations: 323.9 kB / 455.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.3375, allocations: 33.7 kB / 455.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.3377, allocations: 379.9 kB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.3379, allocations: 214.1 kB / 456.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.3381, allocations: 154.5 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3383, allocations: 346.8 kB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.3391, allocations: 265.8 kB / 456.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.34, allocations: 0.5294 MB / 457.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.3418, allocations: 0.8126 MB / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.3418, allocations: 0 / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002136/0.3439, allocations: 0.905 MB / 459.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3439, allocations: 8 kB / 459.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3439, allocations: 8 kB / 459.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.3442, allocations: 69.61 kB / 459.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.3451, allocations: 203.7 kB / 459.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.3473, allocations: 2.623 MB / 462.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.3479, allocations: 64.03 kB / 462.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.348, allocations: 35.98 kB / 462.2 MB, free: 7.93 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.0003242/0.3483, allocations: 213.6 kB / 462.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.3484, allocations: 43.72 kB / 462.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.3503, allocations: 0.7296 MB / 463.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3503, allocations: 8 kB / 463.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3503, allocations: 0 / 463.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3503, allocations: 3.984 kB / 463.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3529, allocations: 1.205 MB / 464.4 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3529, allocations: 0 / 464.4 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.3535, allocations: 135.8 kB / 464.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.3537, allocations: 57.66 kB / 464.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.3538, allocations: 16 kB / 464.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.3559, allocations: 2.596 MB / 467.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3559, allocations: 0 / 467.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.3584, allocations: 1.074 MB / 468.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.3587, allocations: 95.61 kB / 468.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.3587, allocations: 8 kB / 468.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.3592, allocations: 47.94 kB / 468.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3594, allocations: 52.41 kB / 468.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.3594, allocations: 20 kB / 468.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.3597, allocations: 215.1 kB / 468.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 0 / 468.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007548/0.3604, allocations: 179.9 kB / 468.9 MB, free: 0.957 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.0003135/0.3607, allocations: 163.1 kB / 469 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.3627, allocations: 0.873 MB / 469.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3627, allocations: 4.125 kB / 469.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3638, allocations: 0.5195 MB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3642, allocations: 56.53 kB / 470.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.367, allocations: 1.233 MB / 471.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3673, allocations: 286.7 kB / 472 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.3676, allocations: 63.39 kB / 472.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3676, allocations: 0 / 472.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.01787/0.3854, allocations: 13.85 MB / 485.9 MB, free: 15.8 MB / 398.1 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/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_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: 8.0720374728553]