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.001018/0.001018, allocations: 83.58 kB / 21.19 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.001199/0.001199, allocations: 165 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 0.9872/0.9872, allocations: 177.1 MB / 205 MB, free: 5.613 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.2686/0.2686, allocations: 32.81 MB / 294.3 MB, free: 1.277 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 1.694e-06/1.694e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.123e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002644/0.002665, allocations: 2.402 MB / 378.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.003607, allocations: 0.6582 MB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.003687, allocations: 4 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.678e-05/0.003764, allocations: 43.52 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.003914, allocations: 79.33 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.004185, allocations: 95.8 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.004456, allocations: 351 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.00467, allocations: 107.8 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.004955, allocations: 219.5 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.005093, allocations: 107.7 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.00513, allocations: 32 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-05/0.005193, allocations: 40 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.005241, allocations: 75.73 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.005317, allocations: 111.7 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.005555, allocations: 239.1 kB / 380.5 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005556, allocations: 0 / 380.5 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.005558, allocations: 3.984 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005563, allocations: 0 / 380.6 MB, free: 96 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.0006486/0.006212, allocations: 0.6133 MB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006252, allocations: 8.031 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.006477, allocations: 72.73 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.00664, allocations: 152.1 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.00667, allocations: 25.03 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.006707, allocations: 28.38 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.007026, allocations: 235.3 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.00704, allocations: 192 / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.007061, allocations: 8.375 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.007073, allocations: 11.94 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.007262, allocations: 123.8 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.00836, allocations: 0.8617 MB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.008418, allocations: 35 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.008455, allocations: 23.72 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.008463, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.008488, allocations: 37.39 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.008489, allocations: 0 / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.008651, allocations: 57.48 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.008678, allocations: 51.53 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.008889, allocations: 313.5 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.008899, allocations: 25.7 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.009014, allocations: 290.1 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.009025, allocations: 15.94 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.009089, allocations: 59.31 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.0092, allocations: 0.4923 MB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.009258, allocations: 39.97 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.009342, allocations: 71.84 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.009447, allocations: 83.36 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.00945, allocations: 3.938 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002093/0.009659, allocations: 186.1 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.009672, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009677, allocations: 3.984 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.009694, allocations: 4 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.00985, allocations: 55.84 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.009857, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.00996, allocations: 39.66 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.009971, allocations: 8 kB / 384.5 MB, free: 11.86 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.246e-05/0.01005, allocations: 168.5 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.01008, allocations: 15.91 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.01011, allocations: 20.64 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01011, allocations: 0 / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01012, allocations: 0 / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.01012, allocations: 7.938 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.0105, allocations: 0.5077 MB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0105, allocations: 4 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.01051, allocations: 0 / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01052, allocations: 4 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01053, allocations: 8.062 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01053, allocations: 3.938 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01053, allocations: 0 / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.333e-05/0.01061, allocations: 99.97 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01064, allocations: 19.84 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.01065, allocations: 7.984 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.0107, allocations: 3.938 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.01071, allocations: 0 / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.01071, allocations: 4 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01083, allocations: 204.5 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 4.031 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01101, allocations: 71.78 kB / 385.7 MB, free: 10.63 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 7.438e-05/0.01108, allocations: 91.25 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01124, allocations: 83.58 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01124, allocations: 3.938 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.01126, allocations: 11.69 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.01142, allocations: 24.67 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.01188, allocations: 371.1 kB / 386.3 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01192, allocations: 75.97 kB / 386.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.01199, allocations: 25.56 kB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.01203, allocations: 12.5 kB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01203, allocations: 4 kB / 386.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of Templates: time 0.003258/0.01529, allocations: 1.604 MB / 388 MB, free: 8.289 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.203218327835202]