Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001645/0.001645, allocations: 112.5 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.001848/0.001848, 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.23/0.23, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [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.002074/0.002074, allocations: 75.88 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 65.46 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003452/0.3789, allocations: 1.688 MB / 0.5599 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3801, allocations: 0.5543 MB / 0.5605 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.3802, allocations: 0 / 0.5605 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3804, allocations: 43.77 kB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.3808, allocations: 79.62 kB / 0.5606 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3811, allocations: 91.75 kB / 0.5607 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.3813, allocations: 95.73 kB / 0.5608 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3814, allocations: 19.66 kB / 0.5608 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.3815, allocations: 31.86 kB / 0.5608 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3816, allocations: 43.77 kB / 0.5608 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3816, allocations: 4 kB / 0.5608 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3817, allocations: 47.92 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.3818, allocations: 27.91 kB / 0.5609 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.3818, allocations: 31.8 kB / 0.561 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3821, allocations: 110.2 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3821, allocations: 4 kB / 0.5611 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3821, allocations: 0 / 0.5611 GB, free: 4.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3821, allocations: 0 / 0.5611 GB, free: 4.859 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005321/0.3826, allocations: 333.6 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3826, allocations: 8.031 kB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.3827, allocations: 12.84 kB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3829, allocations: 152.6 kB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3829, allocations: 4.375 kB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3829, allocations: 4.375 kB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.3831, allocations: 73.78 kB / 0.5616 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3831, allocations: 3.938 kB / 0.5616 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3831, allocations: 4 kB / 0.5616 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.3832, allocations: 3.938 kB / 0.5616 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3833, allocations: 35.97 kB / 0.5617 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.3837, allocations: 291.8 kB / 0.5619 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3839, allocations: 58.5 kB / 0.562 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.384, allocations: 20.84 kB / 0.562 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.384, allocations: 4 kB / 0.562 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.384, allocations: 34.56 kB / 0.5621 GB, free: 3.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.384, allocations: 4 kB / 0.5621 GB, free: 3.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.3851, allocations: 293.2 kB / 0.5623 GB, free: 3.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3852, allocations: 59.34 kB / 0.5624 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3854, allocations: 167.1 kB / 0.5626 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3854, allocations: 25.7 kB / 0.5626 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.3855, allocations: 108.1 kB / 0.5627 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.3855, allocations: 47.59 kB / 0.5627 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3856, allocations: 29.66 kB / 0.5628 GB, free: 2.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3857, allocations: 322.8 kB / 0.5631 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.3858, allocations: 31.97 kB / 0.5631 GB, free: 2.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.3859, allocations: 39.98 kB / 0.5631 GB, free: 2.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3861, allocations: 96.58 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3861, allocations: 0 / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002654/0.3864, allocations: 125.7 kB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3864, allocations: 11.88 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3864, allocations: 3.938 kB / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3864, allocations: 4 kB / 0.5634 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3866, allocations: 31.97 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3866, allocations: 4.703 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.3866, allocations: 8 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3866, allocations: 4 kB / 0.5634 GB, free: 2.27 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 (13): * Single equations (assignments): 13 * 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.0001139/0.3868, allocations: 125.8 kB / 0.5635 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3868, allocations: 15.84 kB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3872, allocations: 162.3 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3872, allocations: 8 kB / 0.5637 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3872, allocations: 0 / 0.5637 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3872, allocations: 3.984 kB / 0.5637 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.3879, allocations: 434.2 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3879, allocations: 0 / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.388, allocations: 27.92 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.388, allocations: 4 kB / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.388, allocations: 8.031 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.388, allocations: 3.938 kB / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.388, allocations: 4 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.3883, allocations: 232.2 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.3883, allocations: 11.91 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3883, allocations: 0 / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.3884, allocations: 12 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3885, allocations: 7.984 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3885, allocations: 7.984 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3886, allocations: 133.6 kB / 0.5646 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.5646 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3889, allocations: 27.94 kB / 0.5646 GB, free: 0.9766 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 (13): * Single equations (assignments): 13 * 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.001777/0.3906, allocations: 466.4 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.391, allocations: 99.83 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.391, allocations: 0 / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3911, allocations: 55.91 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3915, allocations: 19.98 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.3921, allocations: 265.1 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3925, allocations: 0.704 MB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3925, allocations: 31.48 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3925, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Templates: time 0.00428/0.3968, allocations: 1.926 MB / 0.5681 GB, free: 13.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.893487612018362]