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.001026/0.001026, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004304/0.004304, allocations: 140.8 kB / 24.68 MB, free: 9.41 MB / 18.57 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 0.8422/0.8422, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.843e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004157/0.004186, allocations: 2.652 MB / 322.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005682, allocations: 0.7165 MB / 323.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.005869, allocations: 7.938 kB / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.006118, allocations: 67.38 kB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.006424, allocations: 107.1 kB / 323.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.006737, allocations: 103.8 kB / 323.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.007162, allocations: 418.2 kB / 323.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.007388, allocations: 91.27 kB / 323.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.007761, allocations: 231.5 kB / 324.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.007961, allocations: 127.6 kB / 324.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.008027, allocations: 36 kB / 324.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.008076, allocations: 36 kB / 324.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.008148, allocations: 83.66 kB / 324.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.008271, allocations: 115.7 kB / 324.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.008724, allocations: 414.6 kB / 324.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.008727, allocations: 0 / 324.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008729, allocations: 0 / 324.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.008738, allocations: 0 / 324.9 MB, free: 0.6523 MB / 282.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.001131/0.009869, allocations: 0.5753 MB / 325.4 MB, free: 48 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.009914, allocations: 12.91 kB / 325.5 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.01001, allocations: 46.19 kB / 325.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.0104, allocations: 214.1 kB / 325.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.01043, allocations: 25.03 kB / 325.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.01049, allocations: 28.38 kB / 325.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.01105, allocations: 290.6 kB / 326 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.01107, allocations: 192 / 326 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.0111, allocations: 18.8 kB / 326.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.01111, allocations: 8 kB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.0117, allocations: 254.4 kB / 326.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.01336, allocations: 0.879 MB / 327.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.01375, allocations: 142.5 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.01392, allocations: 64.81 kB / 327.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.01396, allocations: 4 kB / 327.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.014, allocations: 38.56 kB / 327.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.335e-06/0.014, allocations: 0 / 327.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001898/0.0159, allocations: 0.5934 MB / 328 MB, free: 13.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.01595, allocations: 63.34 kB / 328.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.01626, allocations: 281.7 kB / 328.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.01629, allocations: 33.7 kB / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.01644, allocations: 224.1 kB / 328.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.01651, allocations: 83.31 kB / 328.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01661, allocations: 65.66 kB / 328.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.01675, allocations: 330.8 kB / 329.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.01702, allocations: 103.9 kB / 329.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.01733, allocations: 199.8 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.01789, allocations: 297.1 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0179, allocations: 4 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005545/0.01845, allocations: 393 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.01847, allocations: 8 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.01848, allocations: 8.344 kB / 330.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.01869, allocations: 69.61 kB / 330.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.01893, allocations: 71.89 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.02022, allocations: 2.58 MB / 332.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.02036, allocations: 23.97 kB / 332.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.02038, allocations: 12 kB / 332.8 MB, free: 8.164 MB / 298.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.0001248/0.0205, allocations: 165.7 kB / 333 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.02053, allocations: 31.8 kB / 333 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.02058, allocations: 26.27 kB / 333.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.02058, allocations: 4 kB / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02058, allocations: 0 / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02059, allocations: 0 / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.02078, allocations: 233.1 kB / 333.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02078, allocations: 0 / 333.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.02087, allocations: 43.91 kB / 333.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.76e-05/0.02097, allocations: 57.67 kB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.02098, allocations: 0 / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.02214, allocations: 2.588 MB / 336 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02214, allocations: 0 / 336 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.02252, allocations: 364.8 kB / 336.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.02255, allocations: 27.8 kB / 336.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.02256, allocations: 4 kB / 336.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.02266, allocations: 20.05 kB / 336.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.02272, allocations: 31.83 kB / 336.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.02273, allocations: 4 kB / 336.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.02285, allocations: 193.2 kB / 336.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02285, allocations: 0 / 336.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.02309, allocations: 76 kB / 336.7 MB, free: 4.047 MB / 298.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.0001132/0.0232, allocations: 103.2 kB / 336.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.02381, allocations: 457.7 kB / 337.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.02381, allocations: 8.188 kB / 337.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.02407, allocations: 348.3 kB / 337.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.02431, allocations: 28.48 kB / 337.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.02505, allocations: 0.5634 MB / 338.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.02515, allocations: 168.8 kB / 338.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.02522, allocations: 28.5 kB / 338.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02522, allocations: 0 / 338.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Templates: time 0.005336/0.03055, allocations: 6.161 MB / 344.5 MB, free: 12.1 MB / 314.7 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.760914653539658]