Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.888e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004953/0.004982, allocations: 2.678 MB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.006756, allocations: 0.7593 MB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.007021, allocations: 11.94 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.007318, allocations: 63.42 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.007728, allocations: 99.12 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.008076, allocations: 119.7 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.008651, allocations: 406.3 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.008862, allocations: 87.34 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.009376, allocations: 247.4 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.009632, allocations: 127.6 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.009698, allocations: 32 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.009766, allocations: 36 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.009853, allocations: 79.67 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01002, allocations: 119.7 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.01058, allocations: 414.7 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.01058, allocations: 3.984 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01058, allocations: 3.938 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.0106, allocations: 0 / 277.5 MB, free: 12.52 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.001384/0.01198, allocations: 0.5714 MB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01202, allocations: 15.98 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.01216, allocations: 68.64 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.01261, allocations: 217.1 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.01266, allocations: 33.02 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.01272, allocations: 32.38 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.01342, allocations: 282.6 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01343, allocations: 192 / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.01348, allocations: 16.38 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01349, allocations: 11.94 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.01418, allocations: 250.5 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.01619, allocations: 0.8908 MB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.01662, allocations: 146.5 kB / 280 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.01682, allocations: 60.83 kB / 280 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.01685, allocations: 7.984 kB / 280 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.01689, allocations: 34.56 kB / 280.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.01689, allocations: 0 / 280.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002301/0.01919, allocations: 0.6026 MB / 280.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.01924, allocations: 55.41 kB / 280.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.01962, allocations: 281.8 kB / 281 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.01965, allocations: 29.7 kB / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.01985, allocations: 244 kB / 281.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.01993, allocations: 79.39 kB / 281.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.02005, allocations: 65.66 kB / 281.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.02024, allocations: 338.8 kB / 281.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.02058, allocations: 99.86 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.02101, allocations: 199.8 kB / 282 MB, free: 7.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.02175, allocations: 305.1 kB / 282.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.02176, allocations: 4 kB / 282.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001047/0.0228, allocations: 413.1 kB / 282.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.02283, allocations: 8 kB / 282.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.02284, allocations: 7.938 kB / 282.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.02347, allocations: 81.86 kB / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.02382, allocations: 75.89 kB / 282.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.02646, allocations: 2.584 MB / 285.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.02677, allocations: 23.98 kB / 285.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.02679, allocations: 8 kB / 285.5 MB, free: 3.934 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.0001939/0.02699, allocations: 157.7 kB / 285.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.02706, allocations: 31.98 kB / 285.7 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.02716, allocations: 38.2 kB / 285.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.02716, allocations: 0 / 285.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.02717, allocations: 8.141 kB / 285.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.02718, allocations: 7.969 kB / 285.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.02754, allocations: 221.2 kB / 286 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02754, allocations: 0 / 286 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.02777, allocations: 39.97 kB / 286 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.02828, allocations: 81.64 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.0283, allocations: 3.938 kB / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.03087, allocations: 2.577 MB / 288.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.03088, allocations: 7.969 kB / 288.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.03172, allocations: 380.1 kB / 289.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.03178, allocations: 31.94 kB / 289.1 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.03181, allocations: 0 / 289.1 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.03204, allocations: 19.97 kB / 289.1 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.03213, allocations: 23.91 kB / 289.1 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.03214, allocations: 4 kB / 289.1 MB, free: 48 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.03238, allocations: 197.2 kB / 289.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03238, allocations: 0 / 289.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.03281, allocations: 76 kB / 289.4 MB, free: 15.79 MB / 282.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.0001467/0.03296, allocations: 103.2 kB / 289.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.0341, allocations: 476.6 kB / 290 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03411, allocations: 4 kB / 290 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.0347, allocations: 341 kB / 290.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.03507, allocations: 24.5 kB / 290.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.03635, allocations: 0.5429 MB / 290.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.03655, allocations: 180.8 kB / 291 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.03668, allocations: 26.38 kB / 291.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.03676, allocations: 24.48 kB / 291.1 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03676, allocations: 0 / 291.1 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.007896/0.04466, allocations: 2.878 MB / 294 MB, free: 11.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.30849121697247]