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.001289/0.001289, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001411/0.001411, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.001606/0.001606, allocations: 47.92 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004439/0.2418, allocations: 2.851 MB / 435.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2432, allocations: 0.8023 MB / 436 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2434, allocations: 7.938 kB / 436.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.2437, allocations: 63.42 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.244, allocations: 103.2 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.2442, allocations: 111.8 kB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.2447, allocations: 386.5 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2449, allocations: 95.33 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.2452, allocations: 163.4 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.2455, allocations: 175.2 kB / 437.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.2455, allocations: 32 kB / 437.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.2456, allocations: 32 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.2456, allocations: 75.75 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2458, allocations: 179.1 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.2462, allocations: 399.5 kB / 437.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2462, allocations: 4 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2462, allocations: 0 / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2462, allocations: 0 / 437.8 MB, free: 1.488 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.001173/0.2474, allocations: 0.5753 MB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2475, allocations: 8.031 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.2475, allocations: 40.7 kB / 438.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.2479, allocations: 222.8 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.2479, allocations: 25.03 kB / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.248, allocations: 32.38 kB / 438.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.2486, allocations: 290.4 kB / 439 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2486, allocations: 4 kB / 439 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.2486, allocations: 11.98 kB / 439 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2486, allocations: 8 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.2492, allocations: 258.3 kB / 439.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.251, allocations: 1.041 MB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.2514, allocations: 146.5 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2515, allocations: 68.81 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2516, allocations: 0 / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2516, allocations: 38.56 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.2516, allocations: 0 / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001972/0.2536, allocations: 0.5847 MB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2536, allocations: 55.41 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.2539, allocations: 273.7 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2539, allocations: 29.7 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2541, allocations: 232 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.2542, allocations: 79.38 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2543, allocations: 77.36 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2544, allocations: 334.8 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2547, allocations: 91.94 kB / 442.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.255, allocations: 192.2 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.2556, allocations: 302.1 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2556, allocations: 0 / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008462/0.2565, allocations: 389.5 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2565, allocations: 12 kB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2565, allocations: 4 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.2568, allocations: 57.61 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.2571, allocations: 71.89 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.2593, allocations: 2.638 MB / 446 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2595, allocations: 27.98 kB / 446 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.2595, allocations: 20 kB / 446 MB, free: 8.758 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.0001601/0.2597, allocations: 154.2 kB / 446.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2597, allocations: 23.86 kB / 446.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.2598, allocations: 38.39 kB / 446.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2598, allocations: 7.984 kB / 446.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2598, allocations: 0 / 446.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2598, allocations: 0 / 446.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.2602, allocations: 312.5 kB / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2602, allocations: 0 / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.2604, allocations: 39.91 kB / 446.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.2606, allocations: 53.67 kB / 446.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2606, allocations: 12 kB / 446.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.2626, allocations: 2.622 MB / 449.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2626, allocations: 128 / 449.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.2634, allocations: 372.8 kB / 449.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.2634, allocations: 27.78 kB / 449.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2634, allocations: 8 kB / 449.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2636, allocations: 15.98 kB / 449.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.2637, allocations: 19.95 kB / 449.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2637, allocations: 8 kB / 449.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.2639, allocations: 189.2 kB / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2639, allocations: 0 / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.2643, allocations: 72 kB / 449.9 MB, free: 4.496 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.0001236/0.2644, allocations: 108.5 kB / 450.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000918/0.2653, allocations: 469.4 kB / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2653, allocations: 0 / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.2658, allocations: 341.2 kB / 450.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2662, allocations: 30.67 kB / 450.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2673, allocations: 0.575 MB / 451.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.2677, allocations: 0.7791 MB / 452.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.2678, allocations: 27.44 kB / 452.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2678, allocations: 0 / 452.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Templates: time 0.008919/0.2767, allocations: 5.986 MB / 458.2 MB, free: 12.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.17499761399813]