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.0009842/0.0009842, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001218/0.001218, allocations: 165 kB / 24.56 MB, free: 16 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 0.9901/0.9901, allocations: 177.2 MB / 205 MB, free: 5.309 MB / 186.7 MB " [Timeout remaining time 179] 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.2905/0.2905, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.565e-05, allocations: 2.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002835/0.002861, allocations: 2.403 MB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.004412, allocations: 0.6584 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004534, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.054e-05/0.004624, allocations: 43.58 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.004814, allocations: 71.17 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.005161, allocations: 99.78 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.005476, allocations: 351 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.005691, allocations: 107.8 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.006027, allocations: 215.6 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006188, allocations: 119.7 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.006227, allocations: 32 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.006303, allocations: 36 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.006346, allocations: 71.73 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.006431, allocations: 115.7 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.006701, allocations: 243.1 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.006706, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006708, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006714, allocations: 0 / 382.6 MB, free: 14.12 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.0008035/0.007517, allocations: 0.6093 MB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.007563, allocations: 12.03 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.007806, allocations: 72.73 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.007966, allocations: 144.2 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.007996, allocations: 33.03 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.008027, allocations: 32.31 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.008371, allocations: 223.3 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.008382, allocations: 192 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.00841, allocations: 16.38 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.008425, allocations: 11.94 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.00862, allocations: 123.8 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.009918, allocations: 0.8616 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.009987, allocations: 35.06 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.01002, allocations: 15.73 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.01003, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.01006, allocations: 37.38 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.01006, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001986/0.01026, allocations: 61.55 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.0103, allocations: 51.41 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.01052, allocations: 298.3 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01054, allocations: 25.7 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.01068, allocations: 298.1 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.0107, allocations: 15.94 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.01077, allocations: 59.31 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.0109, allocations: 0.4923 MB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.01096, allocations: 35.97 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.01104, allocations: 75.84 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.01116, allocations: 87.42 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01117, allocations: 3.938 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002239/0.01139, allocations: 190 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01141, allocations: 4 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01141, allocations: 4 kB / 386.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01143, allocations: 0 / 386.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.01161, allocations: 59.89 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01162, allocations: 0 / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.01173, allocations: 39.67 kB / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01175, allocations: 12.03 kB / 386.6 MB, free: 9.887 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.0001127/0.01186, allocations: 160.6 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.01189, allocations: 19.89 kB / 386.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.01192, allocations: 12.66 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01193, allocations: 7.938 kB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01193, allocations: 0 / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01194, allocations: 3.938 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.01241, allocations: 0.5077 MB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01241, allocations: 0 / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.01243, allocations: 16 kB / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01243, allocations: 0 / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01244, allocations: 0 / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.01245, allocations: 7.922 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01245, allocations: 0 / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.01256, allocations: 92.05 kB / 387.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.01259, allocations: 19.89 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.01261, allocations: 0 / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.01265, allocations: 3.938 kB / 387.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.01268, allocations: 11.98 kB / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.01268, allocations: 4.031 kB / 387.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.01281, allocations: 200.5 kB / 387.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01281, allocations: 0 / 387.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.013, allocations: 71.78 kB / 387.7 MB, free: 8.676 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 9.605e-05/0.0131, allocations: 95.23 kB / 387.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.01328, allocations: 87.58 kB / 387.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01328, allocations: 0 / 387.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.0133, allocations: 15.62 kB / 387.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.01396, allocations: 30.88 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.0145, allocations: 374.9 kB / 388.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.01455, allocations: 75.97 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.01462, allocations: 21.62 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.01466, allocations: 16.5 kB / 388.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01466, allocations: 0 / 388.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.004382/0.01904, allocations: 1.653 MB / 390.1 MB, free: 6.266 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.132242863997817]