Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001544/0.001544, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001386/0.001386, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2271/0.2271, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [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.002292/0.002292, allocations: 63.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3757, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003505/0.3793, allocations: 1.641 MB / 0.5599 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3805, allocations: 0.5543 MB / 0.5604 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.3805, allocations: 0 / 0.5604 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.3809, allocations: 71.77 kB / 0.5605 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.3813, allocations: 107.6 kB / 0.5606 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.3816, allocations: 95.69 kB / 0.5607 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3818, allocations: 83.75 kB / 0.5608 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.382, allocations: 18.59 kB / 0.5608 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3821, allocations: 39.91 kB / 0.5608 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3822, allocations: 63.75 kB / 0.5609 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3822, allocations: 4 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3823, allocations: 43.98 kB / 0.5609 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.3824, allocations: 23.91 kB / 0.5609 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.3825, allocations: 31.73 kB / 0.561 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3827, allocations: 107.2 kB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3827, allocations: 0 / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3827, allocations: 0 / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3827, allocations: 0 / 0.5611 GB, free: 4.84 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.0006243/0.3833, allocations: 345.6 kB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3834, allocations: 15.97 kB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.3834, allocations: 12.84 kB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3837, allocations: 143 kB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3837, allocations: 384 / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3837, allocations: 12.36 kB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3839, allocations: 53.75 kB / 0.5616 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3839, allocations: 0 / 0.5616 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3839, allocations: 4 kB / 0.5616 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3839, allocations: 8 kB / 0.5616 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.384, allocations: 23.97 kB / 0.5617 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3844, allocations: 263.8 kB / 0.5619 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3846, allocations: 46.5 kB / 0.562 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.3846, allocations: 16.94 kB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3846, allocations: 4 kB / 0.562 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3847, allocations: 30.56 kB / 0.562 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3847, allocations: 0 / 0.562 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009249/0.3856, allocations: 229.3 kB / 0.5622 GB, free: 3.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3856, allocations: 55.41 kB / 0.5623 GB, free: 3.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.3859, allocations: 214.2 kB / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3859, allocations: 25.7 kB / 0.5625 GB, free: 3.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.386, allocations: 112 kB / 0.5626 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.386, allocations: 27.73 kB / 0.5626 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.3861, allocations: 25.72 kB / 0.5627 GB, free: 3.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3862, allocations: 326.8 kB / 0.563 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.3863, allocations: 23.98 kB / 0.563 GB, free: 2.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.3864, allocations: 31.91 kB / 0.563 GB, free: 2.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3865, allocations: 64.77 kB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3865, allocations: 4 kB / 0.5631 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002282/0.3868, allocations: 97.61 kB / 0.5632 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3868, allocations: 4 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3868, allocations: 8 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3868, allocations: 0 / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3869, allocations: 19.92 kB / 0.5632 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3869, allocations: 0 / 0.5632 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.387, allocations: 15.92 kB / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.387, allocations: 4 kB / 0.5632 GB, free: 2.43 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.0001114/0.3871, allocations: 117.8 kB / 0.5634 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.3871, allocations: 16.33 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.3874, allocations: 119 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3874, allocations: 0 / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3874, allocations: 3.984 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3874, allocations: 7.922 kB / 0.5635 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.388, allocations: 374.7 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.388, allocations: 7.953 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3881, allocations: 20 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3881, allocations: 3.938 kB / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3881, allocations: 11.98 kB / 0.5639 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3881, allocations: 0 / 0.5639 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3881, allocations: 80 / 0.5639 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3884, allocations: 204.3 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.3884, allocations: 19.78 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3884, allocations: 0 / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.3885, allocations: 8 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3885, allocations: 7.984 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3885, allocations: 0 / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3887, allocations: 172.2 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3887, allocations: 0 / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.389, allocations: 19.98 kB / 0.5643 GB, free: 1.242 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.001826/0.3908, allocations: 463.2 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.391, allocations: 67.91 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.391, allocations: 0 / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.3911, allocations: 31.97 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3915, allocations: 12 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.3921, allocations: 292.3 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3925, allocations: 0.7119 MB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.3925, allocations: 19.44 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3925, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.004124/0.3967, allocations: 1.756 MB / 0.5676 GB, free: 14.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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: 8.0559726820793]