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.001965/0.001965, allocations: 103.5 kB / 20.96 MB, free: 3.449 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.002067/0.002067, allocations: 160.8 kB / 24.27 MB, free: 152 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.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.617 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 2.034e-06/2.034e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.284e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004901/0.004933, allocations: 2.829 MB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.006577, allocations: 0.7749 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.006724, allocations: 7.938 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.006962, allocations: 67.42 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.007267, allocations: 103.1 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.007568, allocations: 115.7 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.008048, allocations: 406.3 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.008259, allocations: 91.33 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.008716, allocations: 243.4 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.008949, allocations: 131.6 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.009011, allocations: 32 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.009077, allocations: 36 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.009169, allocations: 87.66 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.009326, allocations: 115.7 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.009874, allocations: 418.6 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.009878, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009879, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.009887, allocations: 0 / 277.6 MB, free: 12.36 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.001445/0.01133, allocations: 0.6982 MB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01138, allocations: 11.98 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.01151, allocations: 72.64 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.0119, allocations: 219.9 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.01193, allocations: 25.03 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.01199, allocations: 32.38 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.01261, allocations: 274.6 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01263, allocations: 4.188 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01266, allocations: 12.38 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01267, allocations: 11.94 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.01325, allocations: 230.5 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.01523, allocations: 0.9956 MB / 280.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.01564, allocations: 151 kB / 280.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.01581, allocations: 63.66 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.01585, allocations: 4 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.01589, allocations: 41.3 kB / 280.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.01589, allocations: 0 / 280.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001831/0.01772, allocations: 0.5418 MB / 281 MB, free: 8.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.01777, allocations: 51.41 kB / 281 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.01822, allocations: 376.1 kB / 281.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.01826, allocations: 29.7 kB / 281.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.01851, allocations: 290.8 kB / 281.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.01859, allocations: 87.38 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.01872, allocations: 75.31 kB / 281.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/0.01902, allocations: 0.5235 MB / 282.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.01928, allocations: 83.89 kB / 282.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.01967, allocations: 235.4 kB / 282.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.02027, allocations: 320.8 kB / 283 MB, free: 6.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.02027, allocations: 7.938 kB / 283 MB, free: 6.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008434/0.02111, allocations: 398.7 kB / 283.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.02113, allocations: 8 kB / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.02115, allocations: 4.406 kB / 283.4 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.02177, allocations: 87.3 kB / 283.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.02206, allocations: 63.91 kB / 283.6 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.02546, allocations: 3.633 MB / 287.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.02573, allocations: 16 kB / 287.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.02575, allocations: 12 kB / 287.2 MB, free: 2.109 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.0002428/0.026, allocations: 212.4 kB / 287.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.02606, allocations: 31.81 kB / 287.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.02616, allocations: 34.2 kB / 287.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02617, allocations: 4 kB / 287.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.02617, allocations: 0 / 287.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02617, allocations: 144 / 287.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.02661, allocations: 288.5 kB / 287.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02661, allocations: 0 / 287.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.02678, allocations: 31.97 kB / 287.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.0273, allocations: 91.3 kB / 287.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02732, allocations: 7.938 kB / 287.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.03034, allocations: 3.622 MB / 291.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.03035, allocations: 3.938 kB / 291.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.03115, allocations: 418.3 kB / 292 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.03121, allocations: 35.8 kB / 292 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.03124, allocations: 0 / 292 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.03141, allocations: 8 kB / 292 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.03149, allocations: 27.89 kB / 292 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.0315, allocations: 4 kB / 292 MB, free: 12.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002632/0.03177, allocations: 249.1 kB / 292.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03177, allocations: 0 / 292.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.03219, allocations: 72 kB / 292.3 MB, free: 12.68 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.0001379/0.03233, allocations: 103.2 kB / 292.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.0333, allocations: 0.5726 MB / 293 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0333, allocations: 0.8125 kB / 293 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.03389, allocations: 467.2 kB / 293.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.03424, allocations: 36.42 kB / 293.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.03539, allocations: 0.5454 MB / 294.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.03558, allocations: 176.8 kB / 294.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.0357, allocations: 30.31 kB / 294.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.03577, allocations: 20.5 kB / 294.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.03577, allocations: 0 / 294.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of Templates: time 0.008088/0.04385, allocations: 2.912 MB / 297.2 MB, free: 7.766 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","/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.509006618987769]