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.000953/0.000953, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002436, allocations: 457.8 kB / 10.45 MB, free: 244 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.001321/0.001321, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002668, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9547/0.9547, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08131/1.036, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.433e-06/1.433e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.67e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002863/0.002879, allocations: 2.904 MB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003922, allocations: 0.8135 MB / 248.9 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004042, allocations: 4 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.00418, allocations: 59.44 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.004351, allocations: 111 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.004581, allocations: 115.7 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.004851, allocations: 406.3 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.004996, allocations: 93.95 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.005317, allocations: 285.2 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.00549, allocations: 131.6 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.005528, allocations: 32 kB / 250.1 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.644e-05/0.005564, allocations: 32 kB / 250.2 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.005603, allocations: 59.75 kB / 250.2 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.005672, allocations: 99.81 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.005894, allocations: 247 kB / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.005905, allocations: 0 / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005906, allocations: 0 / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.005916, allocations: 0 / 250.6 MB, free: 8.195 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.0006882/0.006604, allocations: 0.6165 MB / 251.2 MB, free: 7.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.006634, allocations: 16.62 kB / 251.2 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.006694, allocations: 44.91 kB / 251.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006893, allocations: 189 kB / 251.4 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.006922, allocations: 25.03 kB / 251.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.00696, allocations: 32.38 kB / 251.5 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.007233, allocations: 223.2 kB / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.007243, allocations: 192 / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.007261, allocations: 16.38 kB / 251.7 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.007271, allocations: 11.94 kB / 251.7 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.007376, allocations: 76.55 kB / 251.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.008263, allocations: 0.7561 MB / 252.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.008395, allocations: 82.39 kB / 252.6 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.008427, allocations: 24.86 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.008449, allocations: 7.984 kB / 252.7 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.008469, allocations: 38.5 kB / 252.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.00847, allocations: 3.938 kB / 252.7 MB, free: 5.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.000732/0.009202, allocations: 405.7 kB / 253.1 MB, free: 5.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.009231, allocations: 59.41 kB / 253.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.009384, allocations: 252.8 kB / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.009401, allocations: 33.7 kB / 253.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.009482, allocations: 216 kB / 253.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.00952, allocations: 79.31 kB / 253.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.009581, allocations: 65.67 kB / 253.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.009655, allocations: 338.8 kB / 254.1 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.009694, allocations: 23.98 kB / 254.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.009776, allocations: 136 kB / 254.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.009923, allocations: 201.8 kB / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009925, allocations: 0 / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002235/0.01015, allocations: 228.5 kB / 254.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01016, allocations: 8 kB / 254.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01017, allocations: 4 kB / 254.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.01043, allocations: 81.98 kB / 254.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01058, allocations: 79.83 kB / 254.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.01172, allocations: 2.37 MB / 257.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01183, allocations: 15.98 kB / 257.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01184, allocations: 16 kB / 257.3 MB, free: 1.012 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.828e-05/0.01192, allocations: 133.7 kB / 257.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.01194, allocations: 23.98 kB / 257.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.01198, allocations: 30.27 kB / 257.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01198, allocations: 4 kB / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01199, allocations: 0 / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01199, allocations: 3.984 kB / 257.5 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01213, allocations: 161.7 kB / 257.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01213, allocations: 0 / 257.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.01221, allocations: 39.92 kB / 257.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01223, allocations: 23.84 kB / 257.7 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.01245, allocations: 69.66 kB / 257.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01246, allocations: 0 / 257.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008914/0.01335, allocations: 2.38 MB / 260.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01335, allocations: 3.938 kB / 260.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.01352, allocations: 244.3 kB / 260.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.01354, allocations: 4 kB / 260.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.01362, allocations: 20.2 kB / 260.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.01366, allocations: 23.94 kB / 260.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01366, allocations: 4 kB / 260.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.01373, allocations: 86.77 kB / 260.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01373, allocations: 4 kB / 260.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01394, allocations: 72 kB / 260.6 MB, free: 13.47 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 8.164e-05/0.01402, allocations: 84.36 kB / 260.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01432, allocations: 368.9 kB / 261 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.01433, allocations: 11.98 kB / 261 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.01449, allocations: 311.2 kB / 261.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01475, allocations: 237.3 kB / 261.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.01623, allocations: 0.5514 MB / 262.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.01628, allocations: 92.48 kB / 262.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.01636, allocations: 30.95 kB / 262.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01646, allocations: 87.36 kB / 262.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01646, allocations: 0 / 262.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Templates: time 0.005477/0.02194, allocations: 3.331 MB / 265.7 MB, free: 8.309 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6821015775203705]