Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001358/0.001358, 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.001518/0.001518, allocations: 207.8 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.465/1.465, 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004362/0.2571, allocations: 2.679 MB / 434.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2587, allocations: 0.7516 MB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2588, allocations: 4 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.259, allocations: 71.38 kB / 435.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.2594, allocations: 99.19 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.2596, allocations: 111.8 kB / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.2601, allocations: 402.5 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2603, allocations: 97.88 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.2606, allocations: 171.3 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2608, allocations: 175.2 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.2609, allocations: 36 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.2609, allocations: 32 kB / 436.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.261, allocations: 79.7 kB / 436.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.2612, allocations: 143.3 kB / 436.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.2616, allocations: 406 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2616, allocations: 4 kB / 436.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2616, allocations: 4 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.2616, allocations: 0 / 436.8 MB, free: 1.492 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.001228/0.2628, allocations: 0.5889 MB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2629, allocations: 8.031 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.263, allocations: 40.7 kB / 437.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.2634, allocations: 225.6 kB / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.2634, allocations: 33.03 kB / 437.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.2635, allocations: 36.31 kB / 437.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.2641, allocations: 286.4 kB / 438 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2641, allocations: 0 / 438 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.2641, allocations: 16 kB / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2641, allocations: 8 kB / 438 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.2648, allocations: 250.5 kB / 438.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2664, allocations: 0.8743 MB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.2668, allocations: 149.2 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.267, allocations: 68.72 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.267, allocations: 3.938 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2671, allocations: 34.56 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.2671, allocations: 0 / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002111/0.2692, allocations: 0.5928 MB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.2692, allocations: 55.41 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.2696, allocations: 285.7 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2696, allocations: 29.7 kB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.2698, allocations: 244 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.2698, allocations: 75.38 kB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2699, allocations: 61.66 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2701, allocations: 342.8 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.2704, allocations: 95.94 kB / 441.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.2708, allocations: 199.9 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.2715, allocations: 309.1 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2715, allocations: 0 / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008925/0.2723, allocations: 401.4 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2724, allocations: 4 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2724, allocations: 4 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.2726, allocations: 61.67 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.273, allocations: 83.81 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.2752, allocations: 2.58 MB / 444.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.2755, allocations: 32.09 kB / 444.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.2755, allocations: 12 kB / 444.8 MB, free: 8.969 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.0001735/0.2757, allocations: 153.7 kB / 445 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.2758, allocations: 27.8 kB / 445 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.2758, allocations: 34.27 kB / 445 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2758, allocations: 0 / 445 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2759, allocations: 4 kB / 445 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2759, allocations: 0 / 445 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.2762, allocations: 233.2 kB / 445.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2762, allocations: 3.938 kB / 445.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.2764, allocations: 35.97 kB / 445.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.2765, allocations: 57.61 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2766, allocations: 12 kB / 445.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2786, allocations: 2.568 MB / 447.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2786, allocations: 0 / 447.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.2794, allocations: 376.9 kB / 448.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.2794, allocations: 27.8 kB / 448.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.2795, allocations: 8 kB / 448.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2797, allocations: 15.98 kB / 448.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.2797, allocations: 27.89 kB / 448.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2798, allocations: 7.938 kB / 448.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.28, allocations: 193.2 kB / 448.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.28, allocations: 0 / 448.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.2804, allocations: 76 kB / 448.6 MB, free: 4.855 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.0001108/0.2805, allocations: 106.1 kB / 448.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009643/0.2814, allocations: 469.2 kB / 449.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2814, allocations: 4 kB / 449.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.282, allocations: 338 kB / 449.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2823, allocations: 40.5 kB / 449.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2835, allocations: 0.5499 MB / 450.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2837, allocations: 176.8 kB / 450.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2838, allocations: 22.28 kB / 450.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.2838, allocations: 23.44 kB / 450.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2838, allocations: 3.938 kB / 450.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Templates: time 0.008822/0.2927, allocations: 3.272 MB / 453.6 MB, free: 15.83 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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.61513410275802]