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.0009537/0.0009537, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005077/0.006031, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001003/0.001003, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002321, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9577/0.9577, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0797/1.037, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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 2.245e-06/2.245e-06, allocations: 4 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.117e-05, allocations: 6.25 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002744/0.002755, allocations: 2.865 MB / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.003535, allocations: 0.763 MB / 243.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.003633, allocations: 4 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.003749, allocations: 63.44 kB / 243.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.003906, allocations: 111 kB / 243.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.004068, allocations: 107.8 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.004314, allocations: 406.3 kB / 243.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.00445, allocations: 89.97 kB / 244 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.004889, allocations: 276 kB / 244.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.00502, allocations: 127.6 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.00506, allocations: 36 kB / 244.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.117e-05/0.005092, allocations: 35.94 kB / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.00513, allocations: 55.81 kB / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.005206, allocations: 99.81 kB / 244.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.005414, allocations: 235 kB / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.005428, allocations: 0 / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005429, allocations: 0 / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.005443, allocations: 0 / 244.8 MB, free: 13.91 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.0006757/0.006119, allocations: 0.6165 MB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.006146, allocations: 8.031 kB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.006206, allocations: 56.89 kB / 245.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.00638, allocations: 190.1 kB / 245.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.006407, allocations: 29.02 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.006438, allocations: 32.38 kB / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.006666, allocations: 215.3 kB / 245.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006675, allocations: 192 / 245.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.006691, allocations: 12.38 kB / 245.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.006702, allocations: 11.94 kB / 246 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.006809, allocations: 80.55 kB / 246 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.007565, allocations: 0.7561 MB / 246.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.007682, allocations: 78.53 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.007725, allocations: 28.84 kB / 246.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.007745, allocations: 0 / 246.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.007765, allocations: 38.56 kB / 246.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.007766, allocations: 0 / 246.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006829/0.008449, allocations: 399.6 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.008474, allocations: 55.41 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008608, allocations: 252.8 kB / 247.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.008621, allocations: 29.7 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.008705, allocations: 224 kB / 247.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.008742, allocations: 83.3 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.008804, allocations: 65.64 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.008877, allocations: 338.8 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.008916, allocations: 35.7 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.008995, allocations: 120.2 kB / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.009372, allocations: 193.1 kB / 248.7 MB, free: 9.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.009373, allocations: 0 / 248.7 MB, free: 9.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002127/0.009586, allocations: 241.1 kB / 248.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.009597, allocations: 8 kB / 248.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.009602, allocations: 4 kB / 248.9 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.009847, allocations: 74.03 kB / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01, allocations: 79.91 kB / 249.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.01097, allocations: 2.365 MB / 251.5 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.925e-05/0.01107, allocations: 27.92 kB / 251.5 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01108, allocations: 8 kB / 251.5 MB, free: 6.742 MB / 250.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 7.723e-05/0.01115, allocations: 133.7 kB / 251.6 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.01118, allocations: 15.98 kB / 251.6 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.01121, allocations: 38.3 kB / 251.7 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01122, allocations: 4 kB / 251.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01122, allocations: 0 / 251.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01122, allocations: 7.922 kB / 251.7 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.01136, allocations: 157.8 kB / 251.8 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01136, allocations: 0 / 251.8 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.01144, allocations: 31.98 kB / 251.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.01146, allocations: 23.84 kB / 251.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.01165, allocations: 65.66 kB / 252 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.01166, allocations: 8 kB / 252 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/0.01253, allocations: 2.381 MB / 254.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01253, allocations: 0 / 254.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01271, allocations: 245 kB / 254.6 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.01272, allocations: 0 / 254.6 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.01279, allocations: 11.94 kB / 254.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.01283, allocations: 27.89 kB / 254.6 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.01284, allocations: 0 / 254.6 MB, free: 3.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.0129, allocations: 94.83 kB / 254.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0129, allocations: 0 / 254.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.0131, allocations: 76 kB / 254.8 MB, free: 3.211 MB / 250.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 6.269e-05/0.01316, allocations: 76.42 kB / 254.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01344, allocations: 370.6 kB / 255.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.01345, allocations: 8 kB / 255.2 MB, free: 2.727 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01361, allocations: 297.2 kB / 255.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.01378, allocations: 48.48 kB / 255.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.01551, allocations: 0.5598 MB / 256.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.01557, allocations: 96.23 kB / 256.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.01564, allocations: 30.28 kB / 256.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.01572, allocations: 79.36 kB / 256.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01572, allocations: 0 / 256.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of Templates: time 0.005435/0.02116, allocations: 3.036 MB / 259.4 MB, free: 14.58 MB / 266.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 -ignoreHideResult -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.510078717954457]