Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.88 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003011/0.003011, allocations: 75.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.355, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003893/0.3589, allocations: 2.133 MB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.3614, allocations: 1.419 MB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3615, allocations: 3.938 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3619, allocations: 67.48 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.3624, allocations: 219 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3637, allocations: 0.6102 MB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.3642, allocations: 351 kB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3643, allocations: 60.44 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.3646, allocations: 147.4 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3649, allocations: 219.1 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.3649, allocations: 16 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.3651, allocations: 67.97 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3653, allocations: 159.4 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.3655, allocations: 174.6 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.366, allocations: 428.7 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.366, allocations: 0 / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.366, allocations: 0 / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.366, allocations: 0 / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001317/0.3673, allocations: 0.8237 MB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3673, allocations: 12.03 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.3678, allocations: 100.5 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.3685, allocations: 489.1 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3686, allocations: 8.375 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.3686, allocations: 16.27 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.369, allocations: 167.4 kB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.369, allocations: 4 kB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.369, allocations: 7.938 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.369, allocations: 4 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.3693, allocations: 111.9 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3705, allocations: 0.7191 MB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3708, allocations: 125.2 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.371, allocations: 69.8 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.371, allocations: 8 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.371, allocations: 34.56 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.371, allocations: 3.938 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002235/0.3733, allocations: 0.7607 MB / 0.5705 GB, free: 11.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3733, allocations: 77.11 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3744, allocations: 0.9066 MB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3744, allocations: 29.7 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.3747, allocations: 272.3 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.3748, allocations: 67.44 kB / 0.5718 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.3748, allocations: 41.69 kB / 0.5718 GB, free: 9.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.375, allocations: 374.8 kB / 0.5722 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.3753, allocations: 115.8 kB / 0.5723 GB, free: 9.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.3757, allocations: 125.6 kB / 0.5724 GB, free: 9.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.3763, allocations: 257.6 kB / 0.5726 GB, free: 9.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3763, allocations: 0 / 0.5726 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007633/0.377, allocations: 345 kB / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3771, allocations: 4 kB / 0.573 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3771, allocations: 4 kB / 0.573 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3771, allocations: 4 kB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.3774, allocations: 51.89 kB / 0.573 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3774, allocations: 4 kB / 0.573 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3776, allocations: 23.97 kB / 0.5731 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.3776, allocations: 4 kB / 0.5731 GB, free: 8.605 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002426/0.3778, allocations: 225.7 kB / 0.5733 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.378, allocations: 67.52 kB / 0.5733 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.3789, allocations: 395 kB / 0.5737 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3789, allocations: 4 kB / 0.5737 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3789, allocations: 0 / 0.5737 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3789, allocations: 4.375 kB / 0.5737 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.3805, allocations: 0.9619 MB / 0.5747 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3805, allocations: 0 / 0.5747 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.3808, allocations: 51.95 kB / 0.5747 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3808, allocations: 4 kB / 0.5747 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3808, allocations: 0 / 0.5747 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3808, allocations: 4 kB / 0.5747 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3808, allocations: 0 / 0.5747 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.3817, allocations: 0.5176 MB / 0.5752 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.3819, allocations: 144.7 kB / 0.5754 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.3819, allocations: 4 kB / 0.5754 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3822, allocations: 23.92 kB / 0.5754 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.3822, allocations: 23.91 kB / 0.5754 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3823, allocations: 11.98 kB / 0.5754 GB, free: 6.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007663/0.383, allocations: 0.6591 MB / 0.5761 GB, free: 5.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.383, allocations: 0 / 0.5761 GB, free: 5.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.3834, allocations: 64 kB / 0.5761 GB, free: 5.355 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 (20): * Single equations (assignments): 20 * 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.001496/0.3849, allocations: 412 kB / 0.5765 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.3856, allocations: 253.3 kB / 0.5768 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3856, allocations: 0 / 0.5768 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.386, allocations: 143.9 kB / 0.5769 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.3866, allocations: 78.03 kB / 0.577 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3883, allocations: 1.028 MB / 0.578 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.3889, allocations: 0.8928 MB / 0.5789 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.3891, allocations: 95.2 kB / 0.5789 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3892, allocations: 39.42 kB / 0.579 GB, free: 2.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3892, allocations: 4 kB / 0.579 GB, free: 2.508 MB / 414.1 MB Notification: Performance of Templates: time 0.009701/0.3989, allocations: 4.597 MB / 0.5835 GB, free: 13.92 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.071809838991612]