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.001063/0.001063, allocations: 91.5 kB / 21.19 MB, free: 3.379 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.0009806/0.0009806, allocations: 156.5 kB / 24.55 MB, free: 24 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 0.9325/0.9325, allocations: 177 MB / 204.8 MB, free: 5.25 MB / 186.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.202e-06/1.202e-06, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.012e-05, allocations: 2.312 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002877/0.002897, allocations: 2.88 MB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003986, allocations: 0.7709 MB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.004106, allocations: 8 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.004283, allocations: 63.44 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.004508, allocations: 115 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.004717, allocations: 111.7 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.005015, allocations: 410.3 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.00517, allocations: 91.33 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.005483, allocations: 239.5 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.00562, allocations: 131.6 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.005657, allocations: 35.94 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.005691, allocations: 40 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.005734, allocations: 75.67 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.005819, allocations: 131.7 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.007206, allocations: 255 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.00721, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.007211, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.007221, allocations: 0 / 278.2 MB, free: 11.95 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.0007447/0.007965, allocations: 0.6752 MB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008007, allocations: 11.98 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.008088, allocations: 64.7 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.008326, allocations: 231.8 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.008354, allocations: 21.03 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.00839, allocations: 32.38 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.008698, allocations: 227.3 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.008708, allocations: 8.125 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.008728, allocations: 12.38 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.008739, allocations: 11.94 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.008954, allocations: 127.8 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.009887, allocations: 0.9057 MB / 280.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01007, allocations: 103.1 kB / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.01012, allocations: 35.67 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.01014, allocations: 3.938 kB / 280.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01016, allocations: 41.39 kB / 280.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.01016, allocations: 0 / 280.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008009/0.01096, allocations: 430.9 kB / 281.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.01099, allocations: 51.41 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01118, allocations: 328.1 kB / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.01119, allocations: 29.7 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01129, allocations: 278.8 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.01133, allocations: 83.36 kB / 281.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.0114, allocations: 71.31 kB / 282 MB, free: 7.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.0115, allocations: 0.5039 MB / 282.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.01157, allocations: 43.97 kB / 282.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.01169, allocations: 183.4 kB / 282.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.01189, allocations: 240.8 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01189, allocations: 4 kB / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003186/0.01221, allocations: 310.9 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01222, allocations: 12 kB / 283.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01223, allocations: 4 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.01251, allocations: 83.23 kB / 283.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01267, allocations: 71.84 kB / 283.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01389, allocations: 3.528 MB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.014, allocations: 12 kB / 286.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01401, allocations: 20.06 kB / 287 MB, free: 2.59 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 9.214e-05/0.0141, allocations: 180.4 kB / 287.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.01414, allocations: 35.81 kB / 287.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.01417, allocations: 30.22 kB / 287.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01418, allocations: 7.984 kB / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01418, allocations: 0 / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01418, allocations: 0 / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01436, allocations: 232.5 kB / 287.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01436, allocations: 0 / 287.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.01444, allocations: 35.92 kB / 287.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.01464, allocations: 79.3 kB / 287.5 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.01465, allocations: 12.03 kB / 287.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.01585, allocations: 3.524 MB / 291.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01586, allocations: 3.938 kB / 291.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.01613, allocations: 338.3 kB / 291.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01616, allocations: 31.86 kB / 291.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01618, allocations: 8 kB / 291.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.01626, allocations: 8 kB / 291.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.01631, allocations: 15.95 kB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.01632, allocations: 8 kB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.01644, allocations: 217.1 kB / 291.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01644, allocations: 0 / 291.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.01667, allocations: 76 kB / 291.8 MB, free: 13.45 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 8.611e-05/0.01676, allocations: 103.2 kB / 291.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.01717, allocations: 498.2 kB / 292.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01717, allocations: 0 / 292.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.01737, allocations: 420 kB / 292.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01759, allocations: 32.44 kB / 292.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.01845, allocations: 0.5415 MB / 293.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.804e-05/0.01851, allocations: 100.2 kB / 293.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.456e-05/0.01858, allocations: 30.22 kB / 293.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.01863, allocations: 24.48 kB / 293.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01863, allocations: 0 / 293.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.004958/0.02359, allocations: 3.007 MB / 296.5 MB, free: 8.645 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=240 -emit_protected -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.6710640052333474]