Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001343/0.001343, 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 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.001621/0.001621, allocations: 209 kB / 24.48 MB, free: 3.938 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2372, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004241/0.2414, allocations: 2.64 MB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2428, allocations: 0.7554 MB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.243, allocations: 12 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2432, allocations: 63.38 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.2435, allocations: 98.89 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.2437, allocations: 111.8 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.2441, allocations: 390.5 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2443, allocations: 91.33 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.2446, allocations: 167.4 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.2448, allocations: 147.2 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.2449, allocations: 32 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.2449, allocations: 36 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.245, allocations: 71.7 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.2452, allocations: 143.4 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.2456, allocations: 401.2 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2456, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2456, allocations: 4 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.2456, allocations: 0 / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001141/0.2467, allocations: 0.5714 MB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2468, allocations: 12.03 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.2469, allocations: 44.64 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.2472, allocations: 222.8 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.2473, allocations: 25.03 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.2473, allocations: 28.38 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.2479, allocations: 294.3 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2479, allocations: 0 / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.248, allocations: 12 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.248, allocations: 8 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.2486, allocations: 250.5 kB / 438.9 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.2502, allocations: 0.8742 MB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.2506, allocations: 142.5 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2508, allocations: 64.81 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.2508, allocations: 3.938 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2509, allocations: 38.56 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2509, allocations: 0 / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002081/0.2529, allocations: 0.5866 MB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.253, allocations: 55.41 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2533, allocations: 269.8 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2533, allocations: 29.7 kB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2535, allocations: 236 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.2535, allocations: 91.27 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2536, allocations: 69.44 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2538, allocations: 334.8 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.2541, allocations: 91.94 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2544, allocations: 200.1 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2551, allocations: 301.1 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2551, allocations: 0 / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008683/0.2559, allocations: 389.3 kB / 442.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.256, allocations: 11.98 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.256, allocations: 7.938 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.2562, allocations: 65.8 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.2566, allocations: 71.89 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.2587, allocations: 2.58 MB / 445.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.259, allocations: 24.11 kB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.259, allocations: 16 kB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001671/0.2592, allocations: 153.7 kB / 445.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.2592, allocations: 31.75 kB / 445.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.2593, allocations: 26.28 kB / 445.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2593, allocations: 4 kB / 445.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2593, allocations: 3.984 kB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2593, allocations: 0 / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.2596, allocations: 229.2 kB / 445.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2596, allocations: 3.938 kB / 445.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2598, allocations: 43.89 kB / 445.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.26, allocations: 49.69 kB / 445.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.26, allocations: 12 kB / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.262, allocations: 2.58 MB / 448.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.262, allocations: 0 / 448.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.2628, allocations: 375.8 kB / 448.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2628, allocations: 23.8 kB / 448.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.2628, allocations: 8 kB / 448.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.263, allocations: 15.98 kB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.2631, allocations: 15.95 kB / 449 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2631, allocations: 11.94 kB / 449 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.2633, allocations: 181.2 kB / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2633, allocations: 0 / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2637, allocations: 72 kB / 449.2 MB, free: 5.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001091/0.2638, allocations: 103.2 kB / 449.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.2647, allocations: 473.2 kB / 449.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2647, allocations: 0 / 449.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.2653, allocations: 345.2 kB / 450.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2656, allocations: 39.88 kB / 450.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2667, allocations: 0.5726 MB / 450.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2668, allocations: 176.7 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.2669, allocations: 19.44 kB / 450.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2669, allocations: 4 kB / 450.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Templates: time 0.008412/0.2753, allocations: 6.099 MB / 457 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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: 7.476109053939581]