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.001023/0.001023, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001043/0.001043, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9991/0.9991, allocations: 177.1 MB / 205 MB, free: 5.633 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.2578/0.2578, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.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.353e-06/1.353e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.539e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002351/0.002366, allocations: 2.105 MB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003885, allocations: 1.277 MB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.003976, allocations: 4 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.004195, allocations: 47.45 kB / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.004568, allocations: 223 kB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.00516, allocations: 446.9 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.005446, allocations: 334.9 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.005586, allocations: 44.89 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.005813, allocations: 195.4 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.005994, allocations: 175.5 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.006023, allocations: 16 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.006132, allocations: 67.91 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.006253, allocations: 147.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.006325, allocations: 87.58 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.006622, allocations: 326.6 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006624, allocations: 4 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006625, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.00663, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.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.0007495/0.007379, allocations: 0.8367 MB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.007416, allocations: 11.98 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.007661, allocations: 104.4 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.008008, allocations: 357.4 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.008022, allocations: 16.31 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.008066, allocations: 12.38 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.008288, allocations: 138 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.0083, allocations: 3.938 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.008314, allocations: 8 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.008323, allocations: 0 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.008399, allocations: 35.95 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.008977, allocations: 0.6701 MB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.009118, allocations: 106.2 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.009162, allocations: 35.48 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.009185, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.009208, allocations: 45.38 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.009209, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008141/0.01002, allocations: 0.4956 MB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.01006, allocations: 81.33 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.01055, allocations: 0.6754 MB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.01057, allocations: 33.64 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.01073, allocations: 331.2 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.01078, allocations: 75.38 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.01083, allocations: 47.34 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.01099, allocations: 0.5547 MB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.01105, allocations: 27.97 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.01113, allocations: 55.34 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.01126, allocations: 95.42 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01126, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002248/0.01149, allocations: 197 kB / 386.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.0115, allocations: 4 kB / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0115, allocations: 8 kB / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01152, allocations: 0 / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.01166, allocations: 47.95 kB / 386.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01167, allocations: 0 / 386.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.01174, allocations: 15.98 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01175, allocations: 4 kB / 386.6 MB, free: 9.82 MB / 362.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 9.489e-05/0.01184, allocations: 168.5 kB / 386.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.01191, allocations: 67.56 kB / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.0123, allocations: 226.3 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0123, allocations: 8 kB / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01231, allocations: 0 / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01231, allocations: 0 / 387 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.01295, allocations: 0.7775 MB / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01295, allocations: 384 / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01306, allocations: 47.89 kB / 387.9 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.01306, allocations: 8 kB / 387.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01307, allocations: 4 kB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01308, allocations: 4 kB / 387.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01308, allocations: 0 / 387.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.01336, allocations: 473 kB / 388.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.01341, allocations: 59.61 kB / 388.4 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01344, allocations: 7.938 kB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.01354, allocations: 15.98 kB / 388.4 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.01359, allocations: 19.91 kB / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01361, allocations: 11.98 kB / 388.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.01391, allocations: 455 kB / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01391, allocations: 0 / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.01415, allocations: 63.94 kB / 389 MB, free: 7.363 MB / 362.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.000803/0.01495, allocations: 392.4 kB / 389.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.01517, allocations: 107.4 kB / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01517, allocations: 0 / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.01526, allocations: 75.58 kB / 389.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.01563, allocations: 84.52 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.01662, allocations: 0.7915 MB / 390.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.0167, allocations: 140.5 kB / 390.5 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.01681, allocations: 63.22 kB / 390.6 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.01689, allocations: 44.48 kB / 390.6 MB, free: 5.758 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01689, allocations: 0 / 390.6 MB, free: 5.758 MB / 362.7 MB Notification: Performance of Templates: time 0.006793/0.02369, allocations: 4.551 MB / 395.2 MB, free: 1.254 MB / 362.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.3751335158012807]