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.0009943/0.0009943, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009816/0.0009816, allocations: 161 kB / 24.56 MB, free: 12 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.053/1.053, allocations: 177.1 MB / 205 MB, free: 5.617 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.2945/0.2945, allocations: 32.82 MB / 294.3 MB, free: 1.289 MB / 266.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 2.114e-06/2.114e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.169e-05, allocations: 6.25 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002593/0.002615, allocations: 2.41 MB / 378.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003781, allocations: 0.6621 MB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003883, allocations: 8 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.542e-05/0.003968, allocations: 39.58 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.004144, allocations: 75.27 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.00446, allocations: 83.88 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.004738, allocations: 362.9 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.004968, allocations: 103.8 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.005287, allocations: 219.6 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.005447, allocations: 111.7 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.005488, allocations: 32 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.005563, allocations: 39.98 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.005604, allocations: 71.73 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.005684, allocations: 115.7 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.006313, allocations: 235.2 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006317, allocations: 3.938 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006318, allocations: 0 / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.006323, allocations: 0 / 380.5 MB, free: 108 kB / 346.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.0007537/0.007077, allocations: 0.6094 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.007123, allocations: 12.03 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.007338, allocations: 76.73 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.007472, allocations: 152.1 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.007498, allocations: 25.03 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.007533, allocations: 28.38 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.007838, allocations: 223.3 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.00785, allocations: 192 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.007876, allocations: 16.38 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.007888, allocations: 11.94 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.008079, allocations: 127.8 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.009239, allocations: 0.8617 MB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.009311, allocations: 31.06 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.009352, allocations: 19.67 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.009361, allocations: 4 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.009385, allocations: 37.39 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.009387, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.009568, allocations: 53.61 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.009604, allocations: 55.34 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.009825, allocations: 301.5 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.009839, allocations: 29.7 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.009975, allocations: 298.1 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.009987, allocations: 11.94 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.01005, allocations: 59.31 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01019, allocations: 0.4961 MB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.01026, allocations: 40.09 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.01033, allocations: 75.84 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.01044, allocations: 79.36 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01044, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002098/0.01065, allocations: 190 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01067, allocations: 8 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01067, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01069, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01084, allocations: 63.83 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01085, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01095, allocations: 39.7 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01096, allocations: 11.98 kB / 384.6 MB, free: 11.87 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 8.833e-05/0.01105, allocations: 168.5 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.01107, allocations: 11.91 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.0111, allocations: 16.66 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.0111, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01111, allocations: 3.984 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01111, allocations: 3.938 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01147, allocations: 0.5077 MB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.01148, allocations: 4.062 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.01149, allocations: 11.98 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01149, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.0115, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0115, allocations: 3.938 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0115, allocations: 4 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.01159, allocations: 95.98 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.01161, allocations: 15.89 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01163, allocations: 3.938 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.01167, allocations: 15.92 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.01169, allocations: 4.031 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.01169, allocations: 0 / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.0118, allocations: 200.5 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0118, allocations: 0 / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01198, allocations: 71.78 kB / 385.7 MB, free: 10.65 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 8.084e-05/0.01206, allocations: 91.25 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.01223, allocations: 91.58 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01223, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.01224, allocations: 15.69 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01242, allocations: 28.66 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.01291, allocations: 366.9 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.01295, allocations: 75.97 kB / 386.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.01302, allocations: 17.77 kB / 386.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.01306, allocations: 16.5 kB / 386.4 MB, free: 9.887 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01306, allocations: 4 kB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of Templates: time 0.004011/0.01707, allocations: 1.66 MB / 388 MB, free: 8.25 MB / 362.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.3718225308693945]