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.001882/0.001882, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.0023/0.0023, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001753/0.001753, allocations: 43.92 kB / 378.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2235, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00693/0.2304, allocations: 4.59 MB / 436.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.2342, allocations: 2.008 MB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.2346, allocations: 16 kB / 438.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.238, allocations: 1.314 MB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2392, allocations: 417.3 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.2416, allocations: 1.135 MB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2426, allocations: 0.7394 MB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009685/0.2436, allocations: 0.5807 MB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.2441, allocations: 342.8 kB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.2448, allocations: 442.2 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2449, allocations: 68 kB / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.2457, allocations: 399.7 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.2458, allocations: 171.4 kB / 443.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.2462, allocations: 306.6 kB / 444.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2477, allocations: 1.222 MB / 445.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2477, allocations: 0 / 445.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2477, allocations: 0 / 445.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.2477, allocations: 3.938 kB / 445.3 MB, free: 8.977 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.004794/0.2525, allocations: 1.421 MB / 446.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2525, allocations: 8.031 kB / 446.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.2554, allocations: 360.1 kB / 447.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.2557, allocations: 209.5 kB / 447.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.2558, allocations: 62.38 kB / 447.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2559, allocations: 80.38 kB / 447.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.2579, allocations: 0.9008 MB / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.2579, allocations: 3.953 kB / 448.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.258, allocations: 36 kB / 448.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.258, allocations: 23.94 kB / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.26, allocations: 0.7847 MB / 449.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.2646, allocations: 2.301 MB / 451.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2657, allocations: 0.5079 MB / 452 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.2663, allocations: 214.2 kB / 452.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2664, allocations: 24.47 kB / 452.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2664, allocations: 39.06 kB / 452.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.525e-06/0.2664, allocations: 0 / 452.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007969/0.2744, allocations: 2.179 MB / 454.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.2744, allocations: 81.61 kB / 454.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.2748, allocations: 323.9 kB / 454.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.2749, allocations: 37.7 kB / 454.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.2752, allocations: 367.9 kB / 455.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2754, allocations: 226 kB / 455.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.2756, allocations: 154.5 kB / 455.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2758, allocations: 350.7 kB / 455.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/0.2766, allocations: 265.8 kB / 456.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.2776, allocations: 0.5333 MB / 456.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.2794, allocations: 0.8087 MB / 457.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.2794, allocations: 4 kB / 457.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002315/0.2817, allocations: 0.8932 MB / 458.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2818, allocations: 8 kB / 458.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.2818, allocations: 8 kB / 458.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.2821, allocations: 81.7 kB / 458.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.283, allocations: 203.7 kB / 458.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.2854, allocations: 2.615 MB / 461.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.2862, allocations: 59.91 kB / 461.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.2862, allocations: 35.98 kB / 461.4 MB, free: 8.086 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.0003447/0.2866, allocations: 217.7 kB / 461.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2867, allocations: 39.77 kB / 461.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.2887, allocations: 0.7335 MB / 462.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2887, allocations: 4 kB / 462.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2888, allocations: 7.938 kB / 462.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2888, allocations: 3.984 kB / 462.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.2915, allocations: 1.205 MB / 463.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2915, allocations: 8 kB / 463.7 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.2923, allocations: 123.8 kB / 463.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.2925, allocations: 65.61 kB / 463.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.2925, allocations: 15.98 kB / 463.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.2947, allocations: 2.588 MB / 466.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2947, allocations: 3.984 kB / 466.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.2975, allocations: 1.07 MB / 467.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.2977, allocations: 95.66 kB / 467.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.2978, allocations: 12 kB / 467.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.2983, allocations: 44.02 kB / 467.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2985, allocations: 60.28 kB / 467.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.2985, allocations: 19.98 kB / 467.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.2988, allocations: 211.1 kB / 468 MB, free: 1.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2988, allocations: 3.938 kB / 468 MB, free: 1.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007308/0.2995, allocations: 179.9 kB / 468.1 MB, free: 1.102 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.000284/0.2998, allocations: 163.3 kB / 468.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.3019, allocations: 0.873 MB / 469.2 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3019, allocations: 7.938 kB / 469.2 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.303, allocations: 0.5197 MB / 469.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3034, allocations: 40.66 kB / 469.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.3062, allocations: 1.2 MB / 470.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3065, allocations: 286.7 kB / 471.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.3069, allocations: 92.39 kB / 471.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.3071, allocations: 47.42 kB / 471.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3071, allocations: 0 / 471.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01483/0.3219, allocations: 7.427 MB / 478.8 MB, free: 6.453 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/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.7859205873683095]