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.00163/0.00163, allocations: 80.06 kB / 21.18 MB, free: 3.383 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.001774/0.001774, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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 1.027/1.027, allocations: 173.4 MB / 201.1 MB, free: 9.32 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 9.82e-07/9.82e-07, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.493e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004325/0.00435, allocations: 2.857 MB / 270.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.005886, allocations: 0.736 MB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.006047, allocations: 8 kB / 271.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.00624, allocations: 67.3 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.006504, allocations: 107.1 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.006769, allocations: 99.84 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.007186, allocations: 414.2 kB / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.007363, allocations: 87.3 kB / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.007747, allocations: 239.4 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.007955, allocations: 135.6 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.008017, allocations: 32 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.008072, allocations: 32 kB / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.008145, allocations: 83.66 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.008298, allocations: 123.7 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.008679, allocations: 259 kB / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.008683, allocations: 0 / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.008686, allocations: 4 kB / 273.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.008694, allocations: 3.938 kB / 273.2 MB, free: 1.148 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.001077/0.00977, allocations: 0.6674 MB / 273.9 MB, free: 456 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.009815, allocations: 12.92 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.009939, allocations: 64.7 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01026, allocations: 220.9 kB / 274.2 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.01031, allocations: 25.03 kB / 274.2 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.01036, allocations: 32.38 kB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.01085, allocations: 235.3 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01086, allocations: 4.172 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.01089, allocations: 12.38 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.0109, allocations: 11.94 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.01121, allocations: 123.8 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01271, allocations: 0.9096 MB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.01293, allocations: 103 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.01301, allocations: 39.67 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01304, allocations: 0 / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01306, allocations: 37.39 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.01306, allocations: 0 / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001102/0.01417, allocations: 429.8 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.01419, allocations: 51.41 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.01449, allocations: 324.1 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.01451, allocations: 29.7 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.01467, allocations: 282.8 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.01473, allocations: 75.36 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01485, allocations: 79.25 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.01501, allocations: 0.5078 MB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.01512, allocations: 43.75 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.01531, allocations: 186.7 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.01562, allocations: 240.8 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01562, allocations: 3.938 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005214/0.01614, allocations: 306.9 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01616, allocations: 8 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01617, allocations: 4 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.01659, allocations: 87.52 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.01683, allocations: 63.91 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.01886, allocations: 3.532 MB / 281.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01905, allocations: 12 kB / 281.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01907, allocations: 16 kB / 282 MB, free: 7.805 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.0001406/0.01921, allocations: 180.4 kB / 282.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.01927, allocations: 35.84 kB / 282.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.01932, allocations: 30.22 kB / 282.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01932, allocations: 4 kB / 282.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01933, allocations: 4.031 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01934, allocations: 3.984 kB / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.01963, allocations: 228.5 kB / 282.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01964, allocations: 0 / 282.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.01975, allocations: 31.97 kB / 282.5 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.02006, allocations: 83.3 kB / 282.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.02007, allocations: 7.938 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.02207, allocations: 3.531 MB / 286.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.02207, allocations: 7.938 kB / 286.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.02238, allocations: 338.9 kB / 286.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.02241, allocations: 23.84 kB / 286.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.02242, allocations: 4 kB / 286.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.02251, allocations: 8 kB / 286.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.02259, allocations: 28.03 kB / 286.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.0226, allocations: 7.984 kB / 286.5 MB, free: 2.938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.02274, allocations: 213.1 kB / 286.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02274, allocations: 4.031 kB / 286.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.02302, allocations: 76 kB / 286.8 MB, free: 2.652 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 0.000118/0.02314, allocations: 106.6 kB / 286.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.02366, allocations: 499.7 kB / 287.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02366, allocations: 4.062 kB / 287.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.0239, allocations: 414.3 kB / 287.8 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.02419, allocations: 40.38 kB / 287.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02522, allocations: 0.5182 MB / 288.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.02529, allocations: 88.31 kB / 288.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.921e-05/0.02537, allocations: 30.28 kB / 288.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.02543, allocations: 20.5 kB / 288.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02543, allocations: 4 kB / 288.5 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of Templates: time 0.005646/0.03107, allocations: 2.886 MB / 291.4 MB, free: 14 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: 3.13939474709332]