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.001508/0.001508, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001195/0.001195, allocations: 163.1 kB / 24.99 MB, free: 8.758 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 1.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.3009/0.3009, allocations: 34.26 MB / 296 MB, free: 0.7852 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 2.234e-06/2.234e-06, allocations: 0 / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.669e-05, allocations: 6.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003898/0.003935, allocations: 2.391 MB / 380.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.005294, allocations: 0.6622 MB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.005432, allocations: 11.94 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.005541, allocations: 39.58 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.005764, allocations: 67.34 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.006142, allocations: 99.78 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.006537, allocations: 347 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.006821, allocations: 107.8 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.007249, allocations: 219.6 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.00746, allocations: 115.7 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.007513, allocations: 32 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.007609, allocations: 36 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.007673, allocations: 75.67 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.007794, allocations: 115.7 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.008173, allocations: 239.2 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.008178, allocations: 0 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.008179, allocations: 0 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.008186, allocations: 4 kB / 382.5 MB, free: 14.44 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.0008939/0.00908, allocations: 0.6092 MB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.00913, allocations: 12.03 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.009459, allocations: 76.73 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.009634, allocations: 144.2 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.009669, allocations: 29.03 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.009713, allocations: 28.38 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.01016, allocations: 227.3 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01017, allocations: 192 / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.0102, allocations: 12.38 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.01022, allocations: 11.94 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.01051, allocations: 127.8 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.01209, allocations: 0.8656 MB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/0.01216, allocations: 31.06 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.01221, allocations: 11.75 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.01222, allocations: 8 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.01225, allocations: 37.33 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.535e-06/0.01226, allocations: 0 / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.01247, allocations: 57.59 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.0125, allocations: 51.41 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.0128, allocations: 302.3 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.01281, allocations: 25.7 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.01297, allocations: 294.1 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.01299, allocations: 11.95 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.01308, allocations: 67.23 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01324, allocations: 0.4963 MB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.01333, allocations: 39.97 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01345, allocations: 75.78 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.0136, allocations: 83.36 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0136, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003304/0.01393, allocations: 186 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.01396, allocations: 4 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01396, allocations: 4 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01398, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.01425, allocations: 63.89 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01426, allocations: 4.031 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.01444, allocations: 35.67 kB / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.01445, allocations: 12 kB / 386.5 MB, free: 10.21 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.000112/0.01457, allocations: 160.5 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.01461, allocations: 15.91 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.01464, allocations: 16.64 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01465, allocations: 4 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01465, allocations: 0 / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01466, allocations: 3.938 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.01523, allocations: 0.5194 MB / 387.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.01524, allocations: 0 / 387.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.01526, allocations: 4 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01527, allocations: 0 / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01528, allocations: 0 / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01528, allocations: 3.938 kB / 387.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01529, allocations: 3.984 kB / 387.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.01541, allocations: 96.05 kB / 387.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.01545, allocations: 19.89 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01548, allocations: 96 / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.01556, allocations: 7.938 kB / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.01558, allocations: 7.938 kB / 387.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01559, allocations: 0 / 387.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.01583, allocations: 200.5 kB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01583, allocations: 3.938 kB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01608, allocations: 71.78 kB / 387.7 MB, free: 8.996 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.0001216/0.0162, allocations: 99.23 kB / 387.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01639, allocations: 83.58 kB / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01639, allocations: 4.062 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.01641, allocations: 11.69 kB / 387.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01664, allocations: 23.27 kB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.01718, allocations: 374.9 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.01722, allocations: 76.11 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.01729, allocations: 21.61 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.01733, allocations: 20.5 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01733, allocations: 0 / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of Templates: time 0.003662/0.02099, allocations: 1.596 MB / 390 MB, free: 6.648 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.3097175259608775]