Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002604/0.002604, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2243/0.2243, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [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.002089/0.002089, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 65.48 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003236/0.379, allocations: 1.597 MB / 0.559 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3801, allocations: 0.5114 MB / 0.5595 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3802, allocations: 4 kB / 0.5595 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3804, allocations: 27.84 kB / 0.5596 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.3807, allocations: 75.62 kB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.381, allocations: 91.75 kB / 0.5597 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3812, allocations: 59.84 kB / 0.5598 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3813, allocations: 7.938 kB / 0.5598 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.3813, allocations: 31.84 kB / 0.5598 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.3814, allocations: 19.86 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3814, allocations: 4 kB / 0.5598 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.3815, allocations: 31.98 kB / 0.5599 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.3816, allocations: 19.92 kB / 0.5599 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3816, allocations: 19.86 kB / 0.5599 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3818, allocations: 78.06 kB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3818, allocations: 0 / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3818, allocations: 4 kB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3818, allocations: 0 / 0.56 GB, free: 4.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005161/0.3823, allocations: 313.8 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3824, allocations: 8.031 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3824, allocations: 8.891 kB / 0.5603 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3826, allocations: 134.4 kB / 0.5604 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3826, allocations: 384 / 0.5604 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3827, allocations: 8.375 kB / 0.5604 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3828, allocations: 57.8 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3828, allocations: 0 / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3828, allocations: 0 / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3828, allocations: 0 / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.3829, allocations: 27.92 kB / 0.5605 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.3833, allocations: 220.5 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3835, allocations: 38.56 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.3836, allocations: 20.94 kB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3836, allocations: 4 kB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3836, allocations: 38.5 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3836, allocations: 0 / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005631/0.3842, allocations: 133.5 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3843, allocations: 55.34 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3844, allocations: 152 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3845, allocations: 25.7 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3845, allocations: 96.14 kB / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.3846, allocations: 27.78 kB / 0.5613 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3846, allocations: 13.72 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3847, allocations: 330.7 kB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.3848, allocations: 15.98 kB / 0.5616 GB, free: 3.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.3849, allocations: 19.98 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.385, allocations: 44.83 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.385, allocations: 0 / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001752/0.3852, allocations: 85.62 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3852, allocations: 7.938 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3852, allocations: 288 / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3852, allocations: 3.938 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.3853, allocations: 15.98 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3853, allocations: 0 / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.3853, allocations: 4 kB / 0.5618 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3853, allocations: 0 / 0.5618 GB, free: 2.871 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 (5): * Single equations (assignments): 5 * 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.0001082/0.3854, allocations: 125.8 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.3855, allocations: 12.19 kB / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3857, allocations: 94.06 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3857, allocations: 3.938 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3857, allocations: 0 / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3857, allocations: 0 / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3861, allocations: 290.2 kB / 0.5623 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3861, allocations: 0 / 0.5623 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.3862, allocations: 19.98 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3862, allocations: 0 / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3862, allocations: 0 / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3862, allocations: 0 / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3862, allocations: 0 / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3864, allocations: 187.3 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.3864, allocations: 3.953 kB / 0.5625 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3865, allocations: 4 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.3865, allocations: 3.984 kB / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3866, allocations: 12 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3866, allocations: 3.938 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.511e-05/0.3867, allocations: 115.2 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3867, allocations: 0 / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3869, allocations: 19.94 kB / 0.5627 GB, free: 1.914 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 (5): * Single equations (assignments): 5 * 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.00168/0.3886, allocations: 435.1 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3888, allocations: 47.91 kB / 0.5631 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3888, allocations: 4 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.3889, allocations: 19.98 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3892, allocations: 15.98 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3897, allocations: 178.2 kB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.3898, allocations: 83.02 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.3899, allocations: 23.75 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.3899, allocations: 11.44 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3899, allocations: 0 / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of Templates: time 0.00443/0.3943, allocations: 1.171 MB / 0.5646 GB, free: 88 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.231788462027907]