Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001425/0.001425, allocations: 120.8 kB / 20.33 MB, free: 1.566 MB / 14.72 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.002246/0.002246, allocations: 206.1 kB / 23.6 MB, free: 4.949 MB / 14.72 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.529/1.529, allocations: 230.5 MB / 257.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.2269/0.2269, allocations: 44.91 MB / 358.6 MB, free: 6.422 MB / 286.1 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.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.4932 GB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3719, allocations: 65.47 MB / 0.5571 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003894/0.3758, allocations: 1.633 MB / 0.5587 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3779, allocations: 1.259 MB / 0.56 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.3779, allocations: 4 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.3782, allocations: 27.78 kB / 0.56 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.3785, allocations: 87.61 kB / 0.5601 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3788, allocations: 87.77 kB / 0.5602 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.379, allocations: 79.75 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3791, allocations: 14.67 kB / 0.5603 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.3792, allocations: 31.84 kB / 0.5603 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.3796, allocations: 39.78 kB / 0.5603 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3796, allocations: 4 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3798, allocations: 99.88 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.3799, allocations: 8 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.38, allocations: 35.78 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3803, allocations: 147.1 kB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.3803, allocations: 4 kB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3803, allocations: 4 kB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3803, allocations: 0 / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005903/0.3809, allocations: 337.6 kB / 0.5609 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3809, allocations: 8.031 kB / 0.5609 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.381, allocations: 12.88 kB / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3812, allocations: 138.4 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3812, allocations: 384 / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3812, allocations: 4.375 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3814, allocations: 105.2 kB / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3814, allocations: 4 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3814, allocations: 0 / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3815, allocations: 4 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3816, allocations: 31.97 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.382, allocations: 271.7 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3821, allocations: 46.56 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3822, allocations: 24.97 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3822, allocations: 4.062 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3822, allocations: 38.56 kB / 0.5616 GB, free: 3.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3822, allocations: 0 / 0.5616 GB, free: 3.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006889/0.3829, allocations: 177.4 kB / 0.5618 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.383, allocations: 85.11 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3832, allocations: 168.2 kB / 0.562 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3832, allocations: 25.7 kB / 0.562 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.3833, allocations: 100 kB / 0.5621 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.3833, allocations: 23.8 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3834, allocations: 21.72 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3835, allocations: 322.8 kB / 0.5625 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.3836, allocations: 27.98 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3837, allocations: 63.39 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3839, allocations: 69.03 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3839, allocations: 0 / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.3841, allocations: 97.62 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3841, allocations: 4 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3841, allocations: 11.95 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3842, allocations: 0 / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3843, allocations: 16 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3843, allocations: 3.984 kB / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3843, allocations: 11.88 kB / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3843, allocations: 0 / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001059/0.3844, allocations: 121.8 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.3845, allocations: 7.953 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.3848, allocations: 122.2 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3848, allocations: 0 / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3848, allocations: 0 / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3848, allocations: 7.922 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.3853, allocations: 357.5 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3853, allocations: 0 / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3854, allocations: 19.94 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3854, allocations: 11.92 kB / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3854, allocations: 0 / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3854, allocations: 4 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3854, allocations: 240 / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3857, allocations: 195.4 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.3857, allocations: 11.95 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3857, allocations: 4.312 kB / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3858, allocations: 11.94 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.3859, allocations: 7.984 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.3859, allocations: 4 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.386, allocations: 125.6 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.386, allocations: 0 / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3863, allocations: 39.86 kB / 0.5638 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.001749/0.388, allocations: 496.8 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.3883, allocations: 59.95 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3883, allocations: 0 / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3884, allocations: 39.91 kB / 0.5643 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.3888, allocations: 24.52 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3893, allocations: 198.2 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3894, allocations: 87.66 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.039e-05/0.3894, allocations: 16.66 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.3895, allocations: 23.42 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3895, allocations: 0 / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.005432/0.3949, allocations: 1.863 MB / 0.5665 GB, free: 13.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 5.247782703489065]