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.001457/0.001457, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001793/0.001793, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9222/0.9222, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.954e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002958/0.002978, allocations: 2.873 MB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.004213, allocations: 0.7788 MB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.004345, allocations: 7.938 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.004549, allocations: 67.38 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.004783, allocations: 103.2 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.005013, allocations: 107.7 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.005336, allocations: 418.2 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.005527, allocations: 87.34 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.005873, allocations: 243.4 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.006012, allocations: 131.6 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.006052, allocations: 36 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.006088, allocations: 32 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.006135, allocations: 87.66 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.00622, allocations: 123.7 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.006479, allocations: 255 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.006482, allocations: 0 / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006482, allocations: 3.938 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006488, allocations: 4 kB / 278.3 MB, free: 12.04 MB / 266.7 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.0008292/0.007317, allocations: 0.6791 MB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007355, allocations: 8.031 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.007448, allocations: 60.7 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.007708, allocations: 223.9 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.007742, allocations: 25.03 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.007785, allocations: 32.38 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.008116, allocations: 231.3 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.008127, allocations: 192 / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.008149, allocations: 12.38 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.00816, allocations: 11.94 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.008355, allocations: 123.8 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.009375, allocations: 0.9212 MB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.009564, allocations: 102.8 kB / 280.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.009621, allocations: 35.67 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.009645, allocations: 7.984 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.009671, allocations: 49.3 kB / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.009673, allocations: 0 / 280.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008492/0.01052, allocations: 418.7 kB / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.01055, allocations: 55.41 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01077, allocations: 328.1 kB / 281.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01078, allocations: 29.7 kB / 281.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.0109, allocations: 282.8 kB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.01094, allocations: 79.38 kB / 282 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.01101, allocations: 63.31 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01115, allocations: 0.5117 MB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.01122, allocations: 47.91 kB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01136, allocations: 183.4 kB / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.01158, allocations: 232.8 kB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01158, allocations: 4 kB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003515/0.01193, allocations: 310.7 kB / 283.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01195, allocations: 8 kB / 283.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01195, allocations: 416 / 283.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.01228, allocations: 83.3 kB / 283.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01244, allocations: 67.91 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.01391, allocations: 3.539 MB / 287 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01403, allocations: 15.98 kB / 287 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01404, allocations: 16 kB / 287 MB, free: 2.684 MB / 266.7 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.0001041/0.01415, allocations: 180.5 kB / 287.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.01419, allocations: 36 kB / 287.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.01423, allocations: 42.19 kB / 287.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01423, allocations: 4 kB / 287.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01423, allocations: 0 / 287.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01424, allocations: 0 / 287.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01443, allocations: 240.5 kB / 287.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01444, allocations: 0 / 287.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.01452, allocations: 31.97 kB / 287.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.01473, allocations: 75.31 kB / 287.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01474, allocations: 7.938 kB / 287.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1124/0.1272, allocations: 3.521 MB / 291.2 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1272, allocations: 3.328 kB / 291.2 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.1276, allocations: 339.4 kB / 291.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1276, allocations: 25.3 kB / 291.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1276, allocations: 6.375 kB / 291.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1277, allocations: 9.594 kB / 291.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.1278, allocations: 20.3 kB / 291.5 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1278, allocations: 8.312 kB / 291.6 MB, free: 23.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.128, allocations: 215.4 kB / 291.8 MB, free: 23.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.128, allocations: 1.656 kB / 291.8 MB, free: 23.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.1284, allocations: 73.09 kB / 291.8 MB, free: 23.25 MB / 266.7 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.0001378/0.1285, allocations: 105.2 kB / 291.9 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.1291, allocations: 0.4946 MB / 292.4 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1291, allocations: 1.062 kB / 292.4 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1293, allocations: 413.6 kB / 292.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1296, allocations: 31.78 kB / 292.9 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1306, allocations: 0.5306 MB / 293.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.208e-05/0.1307, allocations: 88.77 kB / 293.5 MB, free: 22.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.1308, allocations: 30.33 kB / 293.5 MB, free: 22.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1308, allocations: 24.83 kB / 293.5 MB, free: 22.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1308, allocations: 0 / 293.5 MB, free: 22.09 MB / 266.7 MB Notification: Performance of Templates: time 0.006818/0.1377, allocations: 3.016 MB / 296.6 MB, free: 21.88 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8105926499702036]