Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.89 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004076/0.2661, allocations: 2.651 MB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2673, allocations: 0.7166 MB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2674, allocations: 4 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.2676, allocations: 67.44 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2679, allocations: 95.17 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2682, allocations: 111.8 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.2686, allocations: 390.5 kB / 427.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2687, allocations: 98.94 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.269, allocations: 159.4 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2692, allocations: 155.2 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2693, allocations: 32 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.2693, allocations: 36 kB / 427.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.2694, allocations: 79.69 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2695, allocations: 139.3 kB / 427.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.27, allocations: 408.9 kB / 428.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.27, allocations: 0 / 428.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.27, allocations: 0 / 428.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.27, allocations: 0 / 428.2 MB, free: 9.355 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.001184/0.2712, allocations: 0.5909 MB / 428.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2712, allocations: 12.03 kB / 428.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.2713, allocations: 36.7 kB / 428.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2716, allocations: 222.9 kB / 429 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.2717, allocations: 28.97 kB / 429.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.2717, allocations: 36.31 kB / 429.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.2723, allocations: 290.4 kB / 429.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2723, allocations: 0 / 429.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.2724, allocations: 16 kB / 429.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2724, allocations: 8 kB / 429.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.273, allocations: 250.5 kB / 429.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.2746, allocations: 0.882 MB / 430.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.275, allocations: 146.2 kB / 430.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2752, allocations: 56.83 kB / 430.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2752, allocations: 15.92 kB / 430.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.2753, allocations: 30.56 kB / 430.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.114e-06/0.2753, allocations: 0 / 430.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002153/0.2774, allocations: 0.6041 MB / 431.4 MB, free: 6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.2775, allocations: 55.41 kB / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.2778, allocations: 273.8 kB / 431.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2778, allocations: 29.7 kB / 431.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.278, allocations: 244 kB / 432 MB, free: 5.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.2781, allocations: 71.39 kB / 432 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2782, allocations: 69.64 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2784, allocations: 338.8 kB / 432.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.2787, allocations: 91.94 kB / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.279, allocations: 199.9 kB / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.2797, allocations: 306.3 kB / 433 MB, free: 4.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2797, allocations: 4 kB / 433 MB, free: 4.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008665/0.2806, allocations: 389.2 kB / 433.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2806, allocations: 8 kB / 433.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2806, allocations: 4 kB / 433.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.2809, allocations: 61.98 kB / 433.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.2812, allocations: 67.89 kB / 433.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2834, allocations: 2.585 MB / 436.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.2837, allocations: 27.94 kB / 436.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.2838, allocations: 12 kB / 436.2 MB, free: 0.8516 MB / 334.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.0002158/0.284, allocations: 161.6 kB / 436.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.284, allocations: 27.8 kB / 436.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.2841, allocations: 30.27 kB / 436.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2841, allocations: 4.062 kB / 436.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2841, allocations: 4 kB / 436.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2841, allocations: 3.984 kB / 436.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.2844, allocations: 221.2 kB / 436.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2844, allocations: 7.875 kB / 436.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.2847, allocations: 44.09 kB / 436.7 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.2848, allocations: 65.55 kB / 436.7 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2848, allocations: 7.984 kB / 436.7 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.2869, allocations: 2.58 MB / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.287, allocations: 128 / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.2877, allocations: 374.7 kB / 439.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.2877, allocations: 27.81 kB / 439.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2877, allocations: 0 / 439.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.288, allocations: 19.97 kB / 439.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.288, allocations: 23.91 kB / 439.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.288, allocations: 11.94 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2882, allocations: 193.2 kB / 439.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2882, allocations: 0 / 439.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000399/0.2886, allocations: 72 kB / 440 MB, free: 12.73 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.0001195/0.2888, allocations: 103.2 kB / 440.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009679/0.2897, allocations: 477 kB / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2897, allocations: 0 / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.2902, allocations: 338 kB / 440.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.2906, allocations: 32.42 kB / 440.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2917, allocations: 0.5591 MB / 441.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2918, allocations: 164.8 kB / 441.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.292, allocations: 30.31 kB / 441.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.292, allocations: 19.44 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.292, allocations: 0 / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Templates: time 0.007492/0.2995, allocations: 3.158 MB / 444.9 MB, free: 7.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.54162254743278]