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.001485/0.001485, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009314/0.0009314, allocations: 142.2 kB / 24.97 MB, free: 8.816 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.9818/0.9818, allocations: 173.4 MB / 201.5 MB, free: 9.34 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.282e-06/1.282e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.347e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00311/0.003133, allocations: 2.841 MB / 270.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004215, allocations: 0.7321 MB / 271.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004342, allocations: 4 kB / 271.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.004528, allocations: 71.31 kB / 271.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.004748, allocations: 107.1 kB / 271.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.005015, allocations: 107.8 kB / 271.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.005393, allocations: 414.2 kB / 272.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.005547, allocations: 87.3 kB / 272.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.005813, allocations: 235.5 kB / 272.7 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.005943, allocations: 127.6 kB / 272.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.005982, allocations: 39.94 kB / 272.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.006015, allocations: 32 kB / 272.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.006063, allocations: 83.72 kB / 272.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.006148, allocations: 123.7 kB / 273.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.006392, allocations: 262.9 kB / 273.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006394, allocations: 0 / 273.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006395, allocations: 0 / 273.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.0064, allocations: 0 / 273.3 MB, free: 1.477 MB / 250.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.0008152/0.007216, allocations: 0.6713 MB / 274 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.007257, allocations: 8.922 kB / 274 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.007357, allocations: 68.7 kB / 274.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.007646, allocations: 220.9 kB / 274.3 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.007681, allocations: 25.03 kB / 274.3 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.007722, allocations: 28.38 kB / 274.3 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.008091, allocations: 235.3 kB / 274.6 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008102, allocations: 192 / 274.6 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.008126, allocations: 16.38 kB / 274.6 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.008139, allocations: 15.92 kB / 274.6 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.008358, allocations: 127.8 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.009776, allocations: 0.9096 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.009997, allocations: 99.12 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.01006, allocations: 35.67 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01009, allocations: 4 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.01012, allocations: 45.31 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.01012, allocations: 0 / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001016/0.01113, allocations: 421.4 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.01117, allocations: 55.41 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.01139, allocations: 324.1 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.0114, allocations: 29.7 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01152, allocations: 278.8 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.01156, allocations: 75.38 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.01164, allocations: 71.31 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01176, allocations: 0.5078 MB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.01184, allocations: 47.69 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01199, allocations: 183.7 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.0122, allocations: 236.8 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0122, allocations: 4 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000366/0.01257, allocations: 307.1 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01258, allocations: 12 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01259, allocations: 4 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.01291, allocations: 75.3 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01307, allocations: 79.84 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.01461, allocations: 3.531 MB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01473, allocations: 12 kB / 282 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.01475, allocations: 20.06 kB / 282 MB, free: 8.125 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.0001064/0.01486, allocations: 180.4 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.01489, allocations: 27.86 kB / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.01493, allocations: 34.22 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01494, allocations: 7.984 kB / 282.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01494, allocations: 0 / 282.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01495, allocations: 0 / 282.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.01531, allocations: 228.5 kB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01531, allocations: 8 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.0154, allocations: 31.92 kB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.01562, allocations: 83.3 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.01564, allocations: 7.938 kB / 282.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.01692, allocations: 3.527 MB / 286.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01692, allocations: 3.938 kB / 286.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.01721, allocations: 347 kB / 286.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01723, allocations: 23.84 kB / 286.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01725, allocations: 4 kB / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.01733, allocations: 8 kB / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.01738, allocations: 19.95 kB / 286.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.01739, allocations: 8 kB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.01751, allocations: 213.1 kB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01751, allocations: 0 / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01778, allocations: 76 kB / 286.8 MB, free: 2.984 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.566e-05/0.01788, allocations: 107.2 kB / 286.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.01832, allocations: 0.4912 MB / 287.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01833, allocations: 4 kB / 287.4 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.01854, allocations: 411.3 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01878, allocations: 36.58 kB / 287.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.01967, allocations: 0.5299 MB / 288.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.01973, allocations: 88.31 kB / 288.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.01981, allocations: 26.28 kB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.01985, allocations: 20.5 kB / 288.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01986, allocations: 0 / 288.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of Templates: time 0.005215/0.02507, allocations: 2.892 MB / 291.4 MB, free: 14.32 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",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.867311322828755]