Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001369/0.001369, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001499/0.001499, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2343/0.2343, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [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.002109/0.002109, allocations: 71.91 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003271/0.3822, allocations: 1.604 MB / 0.5598 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3833, allocations: 0.5231 MB / 0.5603 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.3834, allocations: 0 / 0.5603 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.3837, allocations: 99.69 kB / 0.5604 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.384, allocations: 115.6 kB / 0.5605 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3843, allocations: 87.75 kB / 0.5606 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3845, allocations: 87.75 kB / 0.5607 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3846, allocations: 15.64 kB / 0.5607 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.3846, allocations: 35.84 kB / 0.5607 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3848, allocations: 67.73 kB / 0.5608 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3848, allocations: 8 kB / 0.5608 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3849, allocations: 43.98 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.3849, allocations: 19.92 kB / 0.5608 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.385, allocations: 27.8 kB / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3852, allocations: 110.2 kB / 0.561 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3852, allocations: 3.938 kB / 0.561 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3852, allocations: 0 / 0.561 GB, free: 4.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3852, allocations: 0 / 0.561 GB, free: 4.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00055/0.3858, allocations: 353.5 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3858, allocations: 8.031 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.3858, allocations: 20.84 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3861, allocations: 134.9 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3861, allocations: 384 / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3861, allocations: 12.31 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3863, allocations: 61.73 kB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3863, allocations: 0 / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3863, allocations: 0 / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3863, allocations: 8 kB / 0.5616 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3864, allocations: 27.91 kB / 0.5616 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3868, allocations: 236.5 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3869, allocations: 46.56 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.3869, allocations: 24.92 kB / 0.5619 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.387, allocations: 0 / 0.5619 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.387, allocations: 34.5 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.387, allocations: 0 / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009064/0.3879, allocations: 233.2 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.388, allocations: 51.41 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.3882, allocations: 230.8 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3882, allocations: 25.7 kB / 0.5624 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.3883, allocations: 108.1 kB / 0.5625 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3884, allocations: 27.81 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3884, allocations: 25.7 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3886, allocations: 334.8 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3887, allocations: 27.98 kB / 0.5629 GB, free: 2.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.3887, allocations: 19.98 kB / 0.5629 GB, free: 2.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3889, allocations: 60.83 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3889, allocations: 0 / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.3891, allocations: 113.7 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3891, allocations: 4 kB / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3891, allocations: 0 / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3891, allocations: 0 / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3892, allocations: 23.98 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3893, allocations: 0 / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.3893, allocations: 8 kB / 0.5631 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3893, allocations: 3.938 kB / 0.5631 GB, free: 2.234 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.0001054/0.3894, allocations: 125.8 kB / 0.5633 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3895, allocations: 15.89 kB / 0.5633 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3897, allocations: 130.9 kB / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3897, allocations: 4 kB / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3897, allocations: 4 kB / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3897, allocations: 0 / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.3902, allocations: 354.8 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3902, allocations: 0 / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.3903, allocations: 12 kB / 0.5638 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3903, allocations: 4 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3903, allocations: 3.984 kB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3903, allocations: 11.88 kB / 0.5638 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3903, allocations: 4.031 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3906, allocations: 204.3 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3906, allocations: 7.953 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3906, allocations: 4 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.3907, allocations: 7.938 kB / 0.564 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3908, allocations: 7.984 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.3908, allocations: 0 / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3909, allocations: 180.3 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3909, allocations: 0 / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3912, allocations: 23.95 kB / 0.5642 GB, free: 1.07 MB / 398.1 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 (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.001836/0.393, allocations: 0.4887 MB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3933, allocations: 63.95 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.3933, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.3934, allocations: 36.06 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3938, allocations: 25.36 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.3944, allocations: 300.6 kB / 0.5651 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3945, allocations: 104.7 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.3945, allocations: 15.44 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3945, allocations: 0 / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of Templates: time 0.004123/0.3987, allocations: 1.847 MB / 0.567 GB, free: 14.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 7.920099011156708]