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.002377/0.002377, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002082/0.002082, allocations: 161.3 kB / 24.27 MB, free: 148 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3494/0.3494, 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.874e-06/1.874e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.703e-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.004949/0.004986, allocations: 2.372 MB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.0064, allocations: 0.6544 MB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.006497, allocations: 4 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.006607, allocations: 43.58 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.006857, allocations: 79.2 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.007201, allocations: 87.81 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.00761, allocations: 355 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.007932, allocations: 107.8 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.00837, allocations: 219.5 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.008599, allocations: 115.7 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.072e-05/0.00868, allocations: 32 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.008777, allocations: 36 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.008866, allocations: 75.73 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.009008, allocations: 103.8 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.009537, allocations: 398.7 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009542, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.009543, allocations: 4 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.009551, allocations: 0 / 381.9 MB, free: 14.3 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.001312/0.01086, allocations: 0.6245 MB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.01091, allocations: 12.03 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.01128, allocations: 72.73 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.01148, allocations: 148.2 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.01152, allocations: 29.02 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.01159, allocations: 32.38 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.01211, allocations: 266.6 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01212, allocations: 192 / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.01216, allocations: 16.38 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.01217, allocations: 11.94 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.01261, allocations: 202.5 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.01456, allocations: 0.9748 MB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.01465, allocations: 42.98 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.01472, allocations: 31.75 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.01473, allocations: 0 / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.01477, allocations: 37.39 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.01477, allocations: 0 / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002354/0.015, allocations: 65.61 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.01506, allocations: 59.33 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.01549, allocations: 342.3 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01551, allocations: 25.7 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.01574, allocations: 306.1 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.01576, allocations: 12.08 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.01588, allocations: 71.3 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/0.01617, allocations: 0.5001 MB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.01631, allocations: 59.97 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01649, allocations: 99.84 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.0167, allocations: 119.4 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0167, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004271/0.01713, allocations: 238 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01715, allocations: 4 kB / 386.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01715, allocations: 4.031 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01717, allocations: 0 / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.0175, allocations: 63.89 kB / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.01751, allocations: 0 / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.01775, allocations: 39.67 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01777, allocations: 11.94 kB / 386.4 MB, free: 9.598 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.0001674/0.01794, allocations: 184.5 kB / 386.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01798, allocations: 15.91 kB / 386.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.01802, allocations: 16.64 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01803, allocations: 0 / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01803, allocations: 4 kB / 386.6 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01803, allocations: 3.938 kB / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.01877, allocations: 0.5585 MB / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01877, allocations: 0 / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.0188, allocations: 4 kB / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.0188, allocations: 0 / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.01881, allocations: 0 / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.01882, allocations: 3.938 kB / 387.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01882, allocations: 0 / 387.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01899, allocations: 116 kB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.01904, allocations: 23.89 kB / 387.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01907, allocations: 0 / 387.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01918, allocations: 11.94 kB / 387.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.0192, allocations: 0 / 387.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.0192, allocations: 0 / 387.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002748/0.01948, allocations: 232.5 kB / 387.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01948, allocations: 4 kB / 387.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.01977, allocations: 71.78 kB / 387.6 MB, free: 8.277 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.0001335/0.0199, allocations: 99.27 kB / 387.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.02019, allocations: 119.6 kB / 387.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02019, allocations: 0 / 387.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.02024, allocations: 19.62 kB / 387.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.02049, allocations: 20.72 kB / 387.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.02125, allocations: 383.1 kB / 388.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.02139, allocations: 129.8 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.205e-05/0.02149, allocations: 17.64 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.02155, allocations: 24.48 kB / 388.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02155, allocations: 0 / 388.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of Templates: time 0.005455/0.027, allocations: 1.605 MB / 390 MB, free: 5.824 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","/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.958032757975161]