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.001216/0.001216, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001514/0.001514, allocations: 175.1 kB / 24.91 MB, free: 9.176 MB / 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.8879/0.8879, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003627/0.003647, allocations: 2.833 MB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004867, allocations: 0.7979 MB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.004998, allocations: 4 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.005199, allocations: 71.38 kB / 277.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.005461, allocations: 107.1 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.005698, allocations: 107.7 kB / 277.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.006063, allocations: 418.2 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.00624, allocations: 93.95 kB / 277.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.006594, allocations: 247.4 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.006767, allocations: 127.6 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.006814, allocations: 32 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.006858, allocations: 39.94 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.006916, allocations: 71.75 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.007026, allocations: 123.7 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.007316, allocations: 267 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007318, allocations: 0 / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007319, allocations: 0 / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.007323, allocations: 4 kB / 278.8 MB, free: 11.97 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.0007799/0.008103, allocations: 0.5504 MB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.008135, allocations: 12.02 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.008216, allocations: 52.91 kB / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.008434, allocations: 185.2 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.008464, allocations: 25.02 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.00851, allocations: 32.38 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.008816, allocations: 215.2 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.008827, allocations: 192 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.008851, allocations: 16.38 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.008862, allocations: 11.94 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.009016, allocations: 84.53 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01022, allocations: 0.7483 MB / 280.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.01038, allocations: 78.53 kB / 280.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.01042, allocations: 32.83 kB / 280.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01044, allocations: 4 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.01046, allocations: 38.5 kB / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.01046, allocations: 0 / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009532/0.01142, allocations: 396.3 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.01145, allocations: 55.41 kB / 281.3 MB, free: 9.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01163, allocations: 260.8 kB / 281.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01165, allocations: 29.7 kB / 281.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01175, allocations: 220 kB / 281.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.0118, allocations: 83.31 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.01188, allocations: 57.67 kB / 281.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.01198, allocations: 342.7 kB / 282.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.01203, allocations: 23.98 kB / 282.3 MB, free: 8.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.01215, allocations: 143.7 kB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.01233, allocations: 185.1 kB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01234, allocations: 0 / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003152/0.01265, allocations: 233.2 kB / 282.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01266, allocations: 10.81 kB / 282.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01267, allocations: 0 / 282.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.013, allocations: 82.03 kB / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.01321, allocations: 67.84 kB / 283 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.01447, allocations: 2.38 MB / 285.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01463, allocations: 19.92 kB / 285.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01465, allocations: 15.98 kB / 285.4 MB, free: 4.871 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 9.881e-05/0.01475, allocations: 125.7 kB / 285.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.01479, allocations: 23.98 kB / 285.5 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.01483, allocations: 34.33 kB / 285.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01484, allocations: 4 kB / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01484, allocations: 0 / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01485, allocations: 3.938 kB / 285.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.01505, allocations: 153.8 kB / 285.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01505, allocations: 0 / 285.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01516, allocations: 39.92 kB / 285.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.01541, allocations: 65.64 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01542, allocations: 4 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.01667, allocations: 2.377 MB / 288.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01668, allocations: 4 kB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.01691, allocations: 240.4 kB / 288.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.01694, allocations: 23.81 kB / 288.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01696, allocations: 4 kB / 288.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.01708, allocations: 11.98 kB / 288.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.01713, allocations: 15.97 kB / 288.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01714, allocations: 12.05 kB / 288.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.093e-05/0.01723, allocations: 90.77 kB / 288.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01723, allocations: 0 / 288.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000351/0.01758, allocations: 72 kB / 288.7 MB, free: 1.355 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 9.715e-05/0.01768, allocations: 92.34 kB / 288.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.01805, allocations: 365 kB / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.01806, allocations: 4 kB / 289.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.01826, allocations: 297.9 kB / 289.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.0185, allocations: 28.48 kB / 289.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.01942, allocations: 0.5325 MB / 290 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.404e-05/0.01948, allocations: 100.3 kB / 290.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01958, allocations: 26.27 kB / 290.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.01969, allocations: 79.38 kB / 290.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01969, allocations: 0 / 290.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.00634/0.02603, allocations: 3.012 MB / 293.2 MB, free: 12.8 MB / 282.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.4287498448975384]