Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001801/0.001801, 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.002289/0.002289, allocations: 212.3 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2256/0.2256, 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002178/0.002178, allocations: 69.78 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 65.48 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003117/0.3752, allocations: 1.636 MB / 0.5591 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3764, allocations: 0.566 MB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.3764, allocations: 0 / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.3771, allocations: 459.1 kB / 0.5601 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.3775, allocations: 287.3 kB / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.378, allocations: 183.2 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3782, allocations: 175.6 kB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3783, allocations: 15.98 kB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3785, allocations: 111.7 kB / 0.5608 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3788, allocations: 251.5 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3788, allocations: 0 / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.3789, allocations: 39.92 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.379, allocations: 83.69 kB / 0.5612 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.3791, allocations: 67.25 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.3794, allocations: 273 kB / 0.5615 GB, free: 3.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3795, allocations: 0 / 0.5615 GB, free: 3.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3795, allocations: 0 / 0.5615 GB, free: 3.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3795, allocations: 0 / 0.5615 GB, free: 3.371 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.0008223/0.3803, allocations: 0.5854 MB / 0.5621 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3803, allocations: 11.97 kB / 0.5621 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.3804, allocations: 48.61 kB / 0.5621 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3807, allocations: 238.8 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3807, allocations: 4.375 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3808, allocations: 384 / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3809, allocations: 57.81 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3809, allocations: 7.969 kB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.381, allocations: 4 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.381, allocations: 0 / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3811, allocations: 31.98 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3816, allocations: 340.3 kB / 0.5628 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.3819, allocations: 42.56 kB / 0.5628 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.3819, allocations: 16.94 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.382, allocations: 4 kB / 0.5628 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.382, allocations: 38.44 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.382, allocations: 0 / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006953/0.3827, allocations: 244.8 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3827, allocations: 55.34 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.3836, allocations: 0.8652 MB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3837, allocations: 25.7 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3838, allocations: 212 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3839, allocations: 15.86 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3839, allocations: 25.64 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3841, allocations: 362.7 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.3842, allocations: 19.98 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.3843, allocations: 27.97 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3844, allocations: 52.83 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3844, allocations: 0 / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002194/0.3846, allocations: 121.3 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3846, allocations: 8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3846, allocations: 3.984 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3846, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.3847, allocations: 12 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3847, allocations: 7.984 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.3848, allocations: 4.234 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3848, allocations: 4 kB / 0.5649 GB, free: 15.73 MB / 414.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.0001945/0.385, allocations: 213.7 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.385, allocations: 51.7 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.3853, allocations: 141.1 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3853, allocations: 0 / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3854, allocations: 4 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3854, allocations: 4 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.3859, allocations: 410 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3859, allocations: 0 / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.386, allocations: 15.98 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.386, allocations: 0 / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.386, allocations: 4 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.386, allocations: 0 / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.386, allocations: 3.938 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3863, allocations: 223.2 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.3863, allocations: 35.66 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3864, allocations: 4 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.3864, allocations: 7.984 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3865, allocations: 7.938 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3865, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006726/0.3872, allocations: 0.6511 MB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3872, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3874, allocations: 27.94 kB / 0.5666 GB, free: 13.88 MB / 414.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.001654/0.3891, allocations: 434.9 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3893, allocations: 55.91 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3893, allocations: 0 / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.3894, allocations: 27.97 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.3898, allocations: 25.95 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3909, allocations: 0.8066 MB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3912, allocations: 224.1 kB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.3913, allocations: 15.77 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3913, allocations: 11.44 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3913, allocations: 3.938 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.0055/0.3968, allocations: 1.696 MB / 0.5698 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.30193368345499]