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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001615/0.001615, allocations: 214.6 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001571/0.001571, allocations: 51.92 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2736, allocations: 53.38 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004292/0.2779, allocations: 2.661 MB / 434.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2793, allocations: 0.7554 MB / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2795, allocations: 4 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.2797, allocations: 67.36 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.28, allocations: 107.2 kB / 435.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.2804, allocations: 111.8 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.2808, allocations: 402.4 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.281, allocations: 89.86 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.2813, allocations: 171.4 kB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.2816, allocations: 151.2 kB / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.2816, allocations: 32 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.2817, allocations: 36 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.2818, allocations: 79.73 kB / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2819, allocations: 151.2 kB / 436.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.2824, allocations: 406 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2824, allocations: 4 kB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2824, allocations: 0 / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2824, allocations: 0 / 436.8 MB, free: 1.531 MB / 334.1 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.001224/0.2836, allocations: 0.5831 MB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2837, allocations: 8.031 kB / 437.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.2838, allocations: 40.7 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.2842, allocations: 229.6 kB / 437.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.2842, allocations: 25.03 kB / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.2843, allocations: 28.38 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.2849, allocations: 294.3 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2849, allocations: 0 / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.285, allocations: 16 kB / 438 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.285, allocations: 8 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/0.2856, allocations: 258.4 kB / 438.2 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.2873, allocations: 0.8665 MB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.2877, allocations: 142.6 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2879, allocations: 68.73 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2879, allocations: 7.938 kB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.2879, allocations: 38.5 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.2879, allocations: 0 / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002078/0.29, allocations: 0.601 MB / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2901, allocations: 51.41 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.2904, allocations: 289.7 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2904, allocations: 29.7 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2906, allocations: 236 kB / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.2906, allocations: 79.36 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2907, allocations: 69.58 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2909, allocations: 342.8 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2912, allocations: 95.94 kB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.2915, allocations: 200 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.2922, allocations: 298.1 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2922, allocations: 4 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009034/0.2931, allocations: 397.4 kB / 442 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2931, allocations: 11.94 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2931, allocations: 0 / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.2934, allocations: 65.66 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.2937, allocations: 75.89 kB / 442.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.296, allocations: 2.58 MB / 444.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2963, allocations: 19.98 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.2963, allocations: 16 kB / 444.8 MB, free: 9.02 MB / 350.1 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.0002149/0.2965, allocations: 157.8 kB / 444.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.2966, allocations: 27.8 kB / 445 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.2967, allocations: 30.27 kB / 445 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2967, allocations: 4 kB / 445 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.2967, allocations: 0 / 445 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.2967, allocations: 3.984 kB / 445 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.297, allocations: 229.2 kB / 445.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.297, allocations: 7.922 kB / 445.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.2972, allocations: 43.91 kB / 445.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.2974, allocations: 53.67 kB / 445.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2974, allocations: 4 kB / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.2994, allocations: 2.576 MB / 447.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2994, allocations: 0 / 447.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.3002, allocations: 376.9 kB / 448.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.3002, allocations: 27.75 kB / 448.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.3003, allocations: 4 kB / 448.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3005, allocations: 19.97 kB / 448.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.3006, allocations: 15.97 kB / 448.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3006, allocations: 11.94 kB / 448.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.3008, allocations: 197.2 kB / 448.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 448.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.3012, allocations: 72 kB / 448.6 MB, free: 4.906 MB / 350.1 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.0001401/0.3014, allocations: 107.2 kB / 448.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.3023, allocations: 470.9 kB / 449.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3023, allocations: 0 / 449.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.3028, allocations: 345.2 kB / 449.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3032, allocations: 37.12 kB / 449.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3043, allocations: 0.5615 MB / 450.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.3045, allocations: 168.8 kB / 450.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.3046, allocations: 22.3 kB / 450.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.3047, allocations: 27.42 kB / 450.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3047, allocations: 4 kB / 450.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Templates: time 0.007686/0.3124, allocations: 3.175 MB / 453.5 MB, free: 15.97 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.4657679703086615]