Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001451/0.001451, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001507/0.001507, allocations: 156.9 kB / 24.27 MB, free: 172 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.495/1.495, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4114/0.4114, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.586e-05/4.838e-05, allocations: 6.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.005848/0.005897, allocations: 2.224 MB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.007719, allocations: 0.6466 MB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.007983, allocations: 4 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.008175, allocations: 47.7 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.00856, allocations: 71.16 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.009012, allocations: 99.78 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.009641, allocations: 351 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.009991, allocations: 115.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.01056, allocations: 207.6 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.0108, allocations: 115.7 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.01086, allocations: 32 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.01097, allocations: 40 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.01106, allocations: 71.73 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.01123, allocations: 111.8 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.01179, allocations: 386.7 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.0118, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0118, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01181, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.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.00117/0.01298, allocations: 0.5132 MB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.01303, allocations: 12.03 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.01342, allocations: 68.73 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.01365, allocations: 153.3 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.0137, allocations: 21.03 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.01375, allocations: 36.31 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.01437, allocations: 278.6 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01438, allocations: 192 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.01442, allocations: 16.31 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.01444, allocations: 11.94 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.01492, allocations: 210.5 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.01685, allocations: 0.8545 MB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.51e-05/0.01695, allocations: 26.58 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.01703, allocations: 32.89 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.01704, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.01709, allocations: 30.56 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.01709, allocations: 4 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.01736, allocations: 73.55 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01741, allocations: 51.41 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.0178, allocations: 269.1 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01782, allocations: 25.7 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.01806, allocations: 247.4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.01808, allocations: 7.891 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.0182, allocations: 61.64 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.0184, allocations: 322.8 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.01855, allocations: 63.97 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.01872, allocations: 98.31 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.01895, allocations: 117.6 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01895, allocations: 0 / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006369/0.01959, allocations: 238 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01961, allocations: 4 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01962, allocations: 3.938 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.01965, allocations: 4 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.01998, allocations: 55.91 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01999, allocations: 3.984 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.02024, allocations: 35.75 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.02026, allocations: 8 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.02043, allocations: 129.8 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.02048, allocations: 15.91 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.02053, allocations: 20.64 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.02054, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.02054, allocations: 4 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02055, allocations: 3.938 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.02126, allocations: 435.1 kB / 386.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02126, allocations: 4 kB / 386.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.02129, allocations: 0 / 386.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.0213, allocations: 4 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.02131, allocations: 0 / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.02131, allocations: 3.938 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02131, allocations: 0 / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.0215, allocations: 101.8 kB / 386.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.02155, allocations: 19.89 kB / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.02158, allocations: 0 / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.02168, allocations: 4 kB / 386.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.02171, allocations: 12 kB / 386.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.02171, allocations: 0 / 386.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.02198, allocations: 179.5 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02198, allocations: 0 / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.0223, allocations: 71.78 kB / 386.6 MB, free: 9.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.02244, allocations: 95.23 kB / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.02273, allocations: 108.1 kB / 386.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02274, allocations: 0 / 386.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.02276, allocations: 12.06 kB / 386.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.02314, allocations: 24.72 kB / 386.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.02399, allocations: 366.4 kB / 387.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.02415, allocations: 137.9 kB / 387.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.02426, allocations: 21.62 kB / 387.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.02433, allocations: 20.48 kB / 387.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02433, allocations: 0 / 387.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of Templates: time 0.00556/0.02989, allocations: 1.604 MB / 389 MB, free: 6.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.9757121740840375]