Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00162/0.00162, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001653/0.001653, allocations: 165.4 kB / 25.6 MB, free: 8.602 MB / 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.9694/0.9694, allocations: 177.1 MB / 206 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.8 MB / 295.4 MB, free: 15.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.372e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00334/0.003363, allocations: 2.356 MB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.004502, allocations: 0.6543 MB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.004621, allocations: 8 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.266e-05/0.004713, allocations: 39.58 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.004924, allocations: 79.22 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.005226, allocations: 95.78 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.005506, allocations: 351 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.005732, allocations: 107.8 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.006037, allocations: 219.6 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.00621, allocations: 115.7 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.006253, allocations: 32 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.006328, allocations: 36 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.006373, allocations: 67.8 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.00646, allocations: 115.7 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006725, allocations: 243.1 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006727, allocations: 0 / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006728, allocations: 0 / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006733, allocations: 4 kB / 381.7 MB, free: 21.07 MB / 314.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.000738/0.007471, allocations: 0.6092 MB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.007517, allocations: 15.98 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.007801, allocations: 76.73 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.007909, allocations: 140.2 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.007935, allocations: 29.03 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.007969, allocations: 28.38 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.008254, allocations: 207.3 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.008266, allocations: 192 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.008291, allocations: 12.38 kB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.008302, allocations: 11.94 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.008468, allocations: 92.5 kB / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.009656, allocations: 0.8465 MB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.594e-05/0.009712, allocations: 35.06 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.009742, allocations: 15.69 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.009749, allocations: 4 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.009767, allocations: 37.39 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.009769, allocations: 0 / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.009917, allocations: 49.59 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.00994, allocations: 55.34 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.01014, allocations: 297.5 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.01015, allocations: 25.7 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.01024, allocations: 294.1 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.01025, allocations: 15.94 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.01033, allocations: 59.28 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.0104, allocations: 0.5001 MB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.01045, allocations: 31.97 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.01053, allocations: 60.33 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.01063, allocations: 75.34 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01063, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002335/0.01086, allocations: 162 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01088, allocations: 4 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01088, allocations: 0 / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.01089, allocations: 4 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.01114, allocations: 59.83 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01115, allocations: 8.031 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.01132, allocations: 31.73 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01133, allocations: 7.938 kB / 385.6 MB, free: 17 MB / 314.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 7.439e-05/0.01141, allocations: 176.5 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01144, allocations: 15.91 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.01147, allocations: 12.66 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01147, allocations: 0 / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01148, allocations: 0 / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01148, allocations: 3.984 kB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.01186, allocations: 476.4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01186, allocations: 3.938 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.01189, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.0119, allocations: 0 / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.0119, allocations: 4 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.0119, allocations: 0 / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0119, allocations: 0 / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.01199, allocations: 107.9 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.01203, allocations: 23.88 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01205, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.01213, allocations: 8.094 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.01215, allocations: 7.938 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.01215, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.01224, allocations: 192.5 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01224, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.01252, allocations: 71.78 kB / 386.7 MB, free: 15.83 MB / 314.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 6.731e-05/0.01258, allocations: 95.23 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01273, allocations: 79.81 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01274, allocations: 0 / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.01275, allocations: 23.69 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01299, allocations: 18.17 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.01347, allocations: 368.8 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.01351, allocations: 83.97 kB / 387.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.854e-05/0.01361, allocations: 9.641 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.0137, allocations: 94.19 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0137, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.004685/0.01838, allocations: 1.737 MB / 389.2 MB, free: 13.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1864907732233405]