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.002385/0.002385, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002635/0.002635, allocations: 156.8 kB / 24.27 MB, free: 156 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.618/1.618, allocations: 177 MB / 204.5 MB, free: 5.594 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.3581/0.3581, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 180] 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 1.132e-06/1.132e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.314e-05, allocations: 8.703 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004031/0.004055, allocations: 2.36 MB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.005297, allocations: 0.6466 MB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.005386, allocations: 8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.005482, allocations: 43.58 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.005684, allocations: 75.27 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.005977, allocations: 95.73 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.006386, allocations: 355 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.00663, allocations: 107.8 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.00702, allocations: 211.6 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.007232, allocations: 115.7 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.007296, allocations: 36 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.007396, allocations: 35.98 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.007476, allocations: 75.75 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.007621, allocations: 107.8 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.008148, allocations: 394.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008151, allocations: 0 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008152, allocations: 0 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.008158, allocations: 0 / 381.8 MB, free: 14.23 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.001097/0.009255, allocations: 0.6324 MB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.00929, allocations: 8.031 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.009632, allocations: 76.67 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.009825, allocations: 152.2 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.00986, allocations: 21.03 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.00991, allocations: 32.38 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.01042, allocations: 266.6 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01043, allocations: 192 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.01047, allocations: 16.38 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01048, allocations: 11.94 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.01118, allocations: 202.5 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.01317, allocations: 0.9826 MB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.01326, allocations: 35.06 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.01333, allocations: 35.73 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01335, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.01338, allocations: 33.39 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.01338, allocations: 0 / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002345/0.01362, allocations: 73.55 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.01367, allocations: 51.41 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.0141, allocations: 347.7 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.01412, allocations: 25.7 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.01435, allocations: 302.1 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.01437, allocations: 11.94 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01449, allocations: 63.31 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.01478, allocations: 0.508 MB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.01493, allocations: 55.98 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01511, allocations: 107.8 kB / 385.9 MB, free: 10 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01534, allocations: 119.3 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01534, allocations: 0 / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004651/0.01581, allocations: 234 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01582, allocations: 4 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01583, allocations: 0 / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01584, allocations: 4 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.01617, allocations: 55.94 kB / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.01618, allocations: 7.938 kB / 386.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.01644, allocations: 39.66 kB / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.01646, allocations: 8 kB / 386.3 MB, free: 9.523 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.0001883/0.01665, allocations: 180.5 kB / 386.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.0167, allocations: 15.91 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.01674, allocations: 16.64 kB / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01674, allocations: 0 / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01674, allocations: 0 / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01675, allocations: 3.938 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.01752, allocations: 0.5663 MB / 387.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01752, allocations: 0 / 387.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.01755, allocations: 4 kB / 387.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01756, allocations: 0 / 387.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01756, allocations: 0 / 387.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01757, allocations: 7.938 kB / 387.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01757, allocations: 3.938 kB / 387.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.01774, allocations: 108 kB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.01778, allocations: 15.89 kB / 387.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.01781, allocations: 8.094 kB / 387.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01793, allocations: 7.938 kB / 387.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.01795, allocations: 4 kB / 387.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.01795, allocations: 4 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.01821, allocations: 227.4 kB / 387.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01821, allocations: 0 / 387.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.01851, allocations: 71.78 kB / 387.5 MB, free: 8.207 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.0001144/0.01862, allocations: 95.23 kB / 387.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01891, allocations: 131.8 kB / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01891, allocations: 0 / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.01895, allocations: 19.69 kB / 387.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01919, allocations: 16.72 kB / 387.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.02009, allocations: 387 kB / 388.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.02026, allocations: 133.8 kB / 388.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.02038, allocations: 17.62 kB / 388.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.02044, allocations: 16.5 kB / 388.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02044, allocations: 0 / 388.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of Templates: time 0.005639/0.02608, allocations: 1.619 MB / 390 MB, free: 5.734 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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.981603531981818]