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.001174/0.001174, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001339/0.001339, allocations: 169.9 kB / 24.82 MB, free: 9.312 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2824/0.2824, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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 1.994e-06/1.994e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.214e-05, allocations: 6.25 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004328/0.00436, allocations: 2.375 MB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.005906, allocations: 0.6505 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.006074, allocations: 4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.006182, allocations: 43.58 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.006411, allocations: 75.27 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.006767, allocations: 95.8 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.007133, allocations: 359 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.007382, allocations: 103.8 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.007801, allocations: 211.6 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.008009, allocations: 111.7 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.008059, allocations: 36 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.008153, allocations: 39.98 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.008205, allocations: 75.75 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.00844, allocations: 107.8 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.008867, allocations: 239.1 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.008872, allocations: 0 / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008873, allocations: 0 / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.008879, allocations: 4 kB / 383 MB, free: 13.87 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.0006136/0.009493, allocations: 0.617 MB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.009531, allocations: 11.97 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.009725, allocations: 68.73 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.009823, allocations: 152.2 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009845, allocations: 25.02 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.009869, allocations: 28.38 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.0101, allocations: 207.3 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.01011, allocations: 4.188 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.01012, allocations: 8.375 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.01013, allocations: 11.94 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.01024, allocations: 100.5 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/0.0112, allocations: 0.8309 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/0.01125, allocations: 27.06 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.01127, allocations: 15.75 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.01128, allocations: 0 / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.0113, allocations: 37.38 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.0113, allocations: 0 / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001168/0.01142, allocations: 57.55 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.01144, allocations: 51.41 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.0116, allocations: 290.2 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.01161, allocations: 29.83 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01172, allocations: 294.1 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.01173, allocations: 15.94 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.01179, allocations: 63.28 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01191, allocations: 0.5 MB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.01194, allocations: 23.97 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.012, allocations: 67.83 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.01207, allocations: 71.28 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01207, allocations: 0 / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001575/0.01223, allocations: 174 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01224, allocations: 4 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.01224, allocations: 0 / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01225, allocations: 7.922 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.0124, allocations: 51.97 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.0124, allocations: 0 / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.0125, allocations: 35.73 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01251, allocations: 15.92 kB / 386.8 MB, free: 9.789 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 7.689e-05/0.01259, allocations: 160.5 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01261, allocations: 15.91 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.01264, allocations: 24.67 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01264, allocations: 4 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01264, allocations: 0 / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01264, allocations: 0 / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.01299, allocations: 484.4 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01299, allocations: 4 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.013, allocations: 4 kB / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.013, allocations: 0 / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.01301, allocations: 3.984 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01301, allocations: 0 / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01301, allocations: 8 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.623e-05/0.01309, allocations: 104 kB / 387.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.01311, allocations: 19.89 kB / 387.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01312, allocations: 0 / 387.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.01316, allocations: 0 / 387.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.01318, allocations: 11.92 kB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.01318, allocations: 0 / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.01326, allocations: 184.5 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01326, allocations: 0 / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.01343, allocations: 75.78 kB / 387.9 MB, free: 8.633 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.02e-05/0.01351, allocations: 99.27 kB / 388 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.01362, allocations: 79.5 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01362, allocations: 4 kB / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.01364, allocations: 7.688 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.0138, allocations: 31.19 kB / 388.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.0142, allocations: 375.1 kB / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.01424, allocations: 75.97 kB / 388.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.01431, allocations: 17.64 kB / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.01438, allocations: 90.19 kB / 388.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01438, allocations: 0 / 388.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of Templates: time 0.003345/0.01773, allocations: 1.685 MB / 390.4 MB, free: 6.129 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.178830317221582]