Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001394/0.001394, 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.001577/0.001577, allocations: 209 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2494/0.2494, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.00215/0.00215, allocations: 63.91 kB / 0.4943 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3733, allocations: 65.48 MB / 0.5582 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003326/0.3766, allocations: 1.645 MB / 0.5598 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3777, allocations: 0.5388 MB / 0.5604 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3778, allocations: 4 kB / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.3784, allocations: 459.1 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.3789, allocations: 287.3 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.3793, allocations: 131.3 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3795, allocations: 179.6 kB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3797, allocations: 15.97 kB / 0.5614 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3798, allocations: 115.7 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.3801, allocations: 251.5 kB / 0.5617 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3801, allocations: 4 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3802, allocations: 47.98 kB / 0.5618 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3803, allocations: 83.69 kB / 0.5619 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.3804, allocations: 75.17 kB / 0.5619 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.3808, allocations: 281 kB / 0.5622 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3808, allocations: 0 / 0.5622 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3808, allocations: 4 kB / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3808, allocations: 0 / 0.5622 GB, free: 3.363 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00082/0.3816, allocations: 0.5892 MB / 0.5628 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3816, allocations: 8.031 kB / 0.5628 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3817, allocations: 48.59 kB / 0.5628 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.382, allocations: 242.8 kB / 0.5631 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.382, allocations: 4.375 kB / 0.5631 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.382, allocations: 12.31 kB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3822, allocations: 57.8 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3822, allocations: 4 kB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3822, allocations: 8 kB / 0.5632 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3822, allocations: 0 / 0.5632 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.3823, allocations: 27.98 kB / 0.5632 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.3828, allocations: 340.3 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3829, allocations: 38.56 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.383, allocations: 16.86 kB / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.383, allocations: 96 / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.383, allocations: 38.58 kB / 0.5636 GB, free: 1.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.383, allocations: 4 kB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.3841, allocations: 308.5 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3841, allocations: 55.41 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3851, allocations: 0.8613 MB / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3852, allocations: 25.7 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.3854, allocations: 224 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.3854, allocations: 27.8 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.3855, allocations: 21.7 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.3857, allocations: 362.8 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.3858, allocations: 23.97 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.3859, allocations: 27.98 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.386, allocations: 60.83 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.386, allocations: 3.938 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000266/0.3863, allocations: 133.8 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3863, allocations: 8 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3863, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3863, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3864, allocations: 15.98 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.3865, allocations: 3.938 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.3865, allocations: 7.984 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3865, allocations: 7.938 kB / 0.5657 GB, free: 15.61 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 (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.0002408/0.3868, allocations: 217.7 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.3868, allocations: 55.59 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.3872, allocations: 161.4 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3872, allocations: 4 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3872, allocations: 3.938 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.3872, allocations: 0 / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3878, allocations: 443.3 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3878, allocations: 4 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.3879, allocations: 15.98 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3879, allocations: 3.938 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3879, allocations: 8 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3879, allocations: 3.938 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3879, allocations: 0 / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3883, allocations: 244.1 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.3883, allocations: 39.67 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3883, allocations: 7.969 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.3884, allocations: 7.984 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3885, allocations: 4 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3885, allocations: 7.984 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006519/0.3891, allocations: 0.6472 MB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3891, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3894, allocations: 28 kB / 0.5675 GB, free: 13.65 MB / 414.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.001898/0.3913, allocations: 494.3 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3916, allocations: 63.95 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3916, allocations: 0 / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.3917, allocations: 35.92 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3922, allocations: 37.19 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3937, allocations: 0.8598 MB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.394, allocations: 220.1 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.3941, allocations: 15.44 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3941, allocations: 0 / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.008071/0.4022, allocations: 4.097 MB / 0.5732 GB, free: 7.988 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 7.802437179256231]