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.0007147/0.0007147, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009766/0.001691, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006697/0.0006697, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008433/0.001513, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.964/0.964, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07729/1.041, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.183e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002559/0.00257, allocations: 2.905 MB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.003358, allocations: 0.8056 MB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.003453, allocations: 4 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.00357, allocations: 67.42 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003714, allocations: 103.1 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.003876, allocations: 115.7 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.004122, allocations: 406.3 kB / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004259, allocations: 93.95 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.00453, allocations: 289.2 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.004658, allocations: 127.6 kB / 249.9 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004692, allocations: 32 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.004724, allocations: 32 kB / 250 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.004765, allocations: 59.75 kB / 250 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.00484, allocations: 99.81 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.005053, allocations: 243.1 kB / 250.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.005067, allocations: 0 / 250.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005068, allocations: 0 / 250.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.005083, allocations: 0 / 250.4 MB, free: 8.281 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.0007089/0.005792, allocations: 0.6204 MB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.005819, allocations: 16.62 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.005874, allocations: 48.91 kB / 251 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.00605, allocations: 185 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.006075, allocations: 29.03 kB / 251.2 MB, free: 7.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.006105, allocations: 28.38 kB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.006335, allocations: 219.2 kB / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.006345, allocations: 192 / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.006361, allocations: 12.38 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.006375, allocations: 15.92 kB / 251.5 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.00648, allocations: 80.55 kB / 251.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.007384, allocations: 0.7522 MB / 252.3 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.007516, allocations: 78.52 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.007548, allocations: 24.86 kB / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.00757, allocations: 7.938 kB / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007592, allocations: 46.48 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.933e-06/0.007594, allocations: 4 kB / 252.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007105/0.008305, allocations: 397.7 kB / 252.9 MB, free: 5.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.008327, allocations: 59.41 kB / 253 MB, free: 5.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.008464, allocations: 252.8 kB / 253.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.008478, allocations: 33.7 kB / 253.2 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.00856, allocations: 216 kB / 253.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.008596, allocations: 79.31 kB / 253.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.008661, allocations: 61.67 kB / 253.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.008736, allocations: 342.8 kB / 253.9 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.008773, allocations: 23.98 kB / 253.9 MB, free: 4.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.008854, allocations: 131.9 kB / 254.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.00899, allocations: 197.1 kB / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008992, allocations: 0 / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002148/0.009207, allocations: 233.2 kB / 254.5 MB, free: 3.852 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.009218, allocations: 4 kB / 254.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.009223, allocations: 4 kB / 254.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.009462, allocations: 74 kB / 254.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.009616, allocations: 75.89 kB / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009778/0.01059, allocations: 2.374 MB / 257 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.0107, allocations: 19.94 kB / 257 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01071, allocations: 11.98 kB / 257 MB, free: 1.113 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.84e-05/0.01079, allocations: 137.8 kB / 257.2 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.01081, allocations: 15.98 kB / 257.2 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.01084, allocations: 34.27 kB / 257.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01085, allocations: 0 / 257.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01085, allocations: 0 / 257.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01085, allocations: 7.938 kB / 257.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01099, allocations: 161.8 kB / 257.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.011, allocations: 4 kB / 257.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.01107, allocations: 35.92 kB / 257.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.868e-05/0.01109, allocations: 19.86 kB / 257.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.01127, allocations: 77.62 kB / 257.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.01128, allocations: 4 kB / 257.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008833/0.01216, allocations: 2.376 MB / 259.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01216, allocations: 0 / 259.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.01233, allocations: 244.4 kB / 260.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01234, allocations: 4 kB / 260.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.01242, allocations: 12.06 kB / 260.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01245, allocations: 19.95 kB / 260.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01246, allocations: 4 kB / 260.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.01252, allocations: 94.75 kB / 260.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01252, allocations: 0 / 260.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.01273, allocations: 76 kB / 260.4 MB, free: 13.58 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 6.442e-05/0.0128, allocations: 83.59 kB / 260.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.01308, allocations: 368.9 kB / 260.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01309, allocations: 8 kB / 260.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.01324, allocations: 298.1 kB / 261.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.01342, allocations: 53.28 kB / 261.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.0149, allocations: 0.5477 MB / 261.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.601e-05/0.01495, allocations: 96.16 kB / 261.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.01503, allocations: 26.28 kB / 261.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.01511, allocations: 83.36 kB / 261.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01511, allocations: 0 / 261.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Templates: time 0.004813/0.01993, allocations: 3.048 MB / 264.9 MB, free: 8.938 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",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.4598791021853685]