Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.0009933/0.0009933, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001005/0.001005, allocations: 173.1 kB / 25.61 MB, free: 8.457 MB / 18.57 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 0.9325/0.9325, allocations: 177.1 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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.1611/0.1611, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.631e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00322/0.003246, allocations: 2.077 MB / 379.4 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.004885, allocations: 1.262 MB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.005008, allocations: 4 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.005224, allocations: 51.45 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.005644, allocations: 227 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.006347, allocations: 447 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.006657, allocations: 342.8 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.00678, allocations: 44.84 kB / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.007039, allocations: 183.4 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.007229, allocations: 183.5 kB / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.007258, allocations: 19.98 kB / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.007387, allocations: 63.92 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.007507, allocations: 143.5 kB / 382.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.007582, allocations: 99.56 kB / 382.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.007899, allocations: 322.6 kB / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.007902, allocations: 0 / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007903, allocations: 0 / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.00791, allocations: 0 / 382.7 MB, free: 20.14 MB / 314.7 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.00072/0.00863, allocations: 0.8404 MB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.008663, allocations: 8.031 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.008962, allocations: 100.5 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.009285, allocations: 345.4 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.009298, allocations: 8.375 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.009322, allocations: 12.38 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.009489, allocations: 133 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.0095, allocations: 3.938 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.009511, allocations: 4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.009518, allocations: 4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.009576, allocations: 30.7 kB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.01003, allocations: 0.573 MB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.01014, allocations: 98.14 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.01017, allocations: 31.36 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.01019, allocations: 4.344 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.01021, allocations: 41.33 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.01021, allocations: 3.938 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007218/0.01093, allocations: 329.2 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.01096, allocations: 85.09 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.01135, allocations: 0.6438 MB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.01136, allocations: 29.7 kB / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01149, allocations: 339 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.01153, allocations: 67.42 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.01159, allocations: 43.33 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.01168, allocations: 0.5625 MB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.01173, allocations: 23.97 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.01179, allocations: 45.42 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.0119, allocations: 91.39 kB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0119, allocations: 4 kB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002249/0.01213, allocations: 181.1 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01214, allocations: 7.938 kB / 387.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01214, allocations: 4 kB / 387.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.01215, allocations: 0 / 387.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.0123, allocations: 47.95 kB / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01231, allocations: 3.938 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.0124, allocations: 15.98 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01241, allocations: 4 kB / 387.4 MB, free: 15.16 MB / 314.7 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 7.735e-05/0.01249, allocations: 168.6 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.01257, allocations: 59.62 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.01285, allocations: 218.3 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01285, allocations: 4 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01286, allocations: 0 / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01286, allocations: 0 / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.01344, allocations: 0.6806 MB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01344, allocations: 0 / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.01357, allocations: 55.89 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01357, allocations: 3.938 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01359, allocations: 8 kB / 388.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01359, allocations: 0 / 388.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01359, allocations: 3.984 kB / 388.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.01382, allocations: 454.5 kB / 389.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.01387, allocations: 55.61 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.01391, allocations: 11.98 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.01438, allocations: 11.94 kB / 389.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.01444, allocations: 19.95 kB / 389.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01445, allocations: 4 kB / 389.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.01469, allocations: 422.9 kB / 389.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01469, allocations: 4 kB / 389.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.01502, allocations: 60 kB / 389.6 MB, free: 12.88 MB / 314.7 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.0008937/0.01591, allocations: 383.5 kB / 390 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01609, allocations: 94.41 kB / 390.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01609, allocations: 4 kB / 390.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.01617, allocations: 59.58 kB / 390.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.01663, allocations: 91.22 kB / 390.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.01759, allocations: 0.801 MB / 391.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.208e-05/0.01767, allocations: 140.5 kB / 391.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.01781, allocations: 63.2 kB / 391.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.01796, allocations: 134.2 kB / 391.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01796, allocations: 0 / 391.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.007487/0.02545, allocations: 4.994 MB / 396.4 MB, free: 6.262 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3216968588531017]