Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3986/0.3986, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003865/0.003895, allocations: 2.239 MB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.005137, allocations: 0.6388 MB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.005239, allocations: 4 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.005339, allocations: 43.58 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.005561, allocations: 79.2 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.005872, allocations: 95.8 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.006295, allocations: 359 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.006571, allocations: 103.8 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.006965, allocations: 215.6 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.007185, allocations: 107.7 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.007246, allocations: 39.94 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.007333, allocations: 36 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.007407, allocations: 79.73 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.007542, allocations: 103.8 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.008032, allocations: 398.7 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.008035, allocations: 0 / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008037, allocations: 0 / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.008043, allocations: 0 / 381.8 MB, free: 14.45 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.0009977/0.00904, allocations: 0.5055 MB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.009085, allocations: 8.031 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.009432, allocations: 68.73 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.009845, allocations: 153.3 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.009881, allocations: 21.03 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.009931, allocations: 32.38 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.01049, allocations: 278.6 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.0105, allocations: 192 / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.01054, allocations: 20.34 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.01055, allocations: 11.94 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.011, allocations: 218.4 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.01274, allocations: 0.8467 MB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.01281, allocations: 26.58 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.01288, allocations: 24.92 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.01288, allocations: 0 / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.01292, allocations: 38.5 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.01292, allocations: 0 / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.01315, allocations: 69.59 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.0132, allocations: 51.41 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.01356, allocations: 271.8 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01358, allocations: 25.7 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.01379, allocations: 251.4 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.01381, allocations: 11.89 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01392, allocations: 53.66 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.01411, allocations: 326.8 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.01425, allocations: 59.98 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.01442, allocations: 102.1 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01464, allocations: 117.7 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01464, allocations: 4 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004554/0.0151, allocations: 238 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01512, allocations: 7.984 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01513, allocations: 4 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01514, allocations: 0 / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.01545, allocations: 59.84 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01545, allocations: 4 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.01569, allocations: 35.7 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.0157, allocations: 4 kB / 385.7 MB, free: 10.36 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.0001555/0.01586, allocations: 137.8 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.0159, allocations: 19.91 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.01594, allocations: 16.64 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01594, allocations: 0 / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01595, allocations: 4 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.01596, allocations: 7.922 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.01658, allocations: 427.1 kB / 386.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01658, allocations: 0 / 386.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.01661, allocations: 4 kB / 386.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01661, allocations: 0 / 386.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01662, allocations: 8.062 kB / 386.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01662, allocations: 3.938 kB / 386.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01663, allocations: 4 kB / 386.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.01678, allocations: 89.89 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.01683, allocations: 23.89 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.01686, allocations: 4 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01696, allocations: 3.938 kB / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.01698, allocations: 3.938 kB / 386.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.01698, allocations: 0 / 386.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.0172, allocations: 184.6 kB / 386.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0172, allocations: 4 kB / 386.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.01749, allocations: 71.78 kB / 386.7 MB, free: 9.289 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.0001161/0.01761, allocations: 91.25 kB / 386.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.01789, allocations: 103.9 kB / 386.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0179, allocations: 0 / 386.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.01792, allocations: 8 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.01826, allocations: 20.91 kB / 386.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.01908, allocations: 374.4 kB / 387.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.01923, allocations: 133.8 kB / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.01933, allocations: 17.64 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.01939, allocations: 20.42 kB / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01939, allocations: 0 / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Templates: time 0.004984/0.02437, allocations: 1.601 MB / 389 MB, free: 6.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.887529548956081]