Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.0009308/0.0009308, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001164/0.001164, allocations: 170.4 kB / 24.92 MB, free: 9.188 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.917/0.917, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.245/0.245, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.339e-05, allocations: 6.469 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00227/0.002293, allocations: 2.012 MB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003774, allocations: 1.251 MB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.003863, allocations: 4 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.004062, allocations: 43.52 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.004432, allocations: 223 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.004989, allocations: 423 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.005267, allocations: 303.6 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.005386, allocations: 46.86 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.005606, allocations: 171.5 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.005768, allocations: 155.6 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.005792, allocations: 16 kB / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.005892, allocations: 63.92 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.006008, allocations: 143.5 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.006068, allocations: 83.59 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.006351, allocations: 306.6 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006353, allocations: 4 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006354, allocations: 0 / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.006359, allocations: 0 / 330.5 MB, free: 2.434 MB / 298.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.0005936/0.006952, allocations: 0.6665 MB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.006987, allocations: 8.031 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.007137, allocations: 56.88 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.007399, allocations: 297.9 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.007413, allocations: 8.375 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.007435, allocations: 16.31 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.007556, allocations: 112.6 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.007569, allocations: 15.89 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007579, allocations: 8 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.007586, allocations: 4 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.007628, allocations: 28.91 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.008025, allocations: 336 kB / 332 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.008096, allocations: 69.25 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.008119, allocations: 17.7 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.008137, allocations: 4 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.00816, allocations: 42.62 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.008161, allocations: 0 / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004272/0.008588, allocations: 217.6 kB / 332.3 MB, free: 440 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.008618, allocations: 77.11 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.008966, allocations: 0.5477 MB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.008981, allocations: 29.7 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.009046, allocations: 161.6 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.009082, allocations: 55.47 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.009121, allocations: 37.69 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.00921, allocations: 366.7 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.009367, allocations: 11.98 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.009401, allocations: 33.69 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.009463, allocations: 57.59 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.009464, allocations: 4.219 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001068/0.009571, allocations: 105.8 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.009581, allocations: 7.938 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.009587, allocations: 3.938 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.009598, allocations: 0 / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.00969, allocations: 35.97 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.009693, allocations: 4 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.009741, allocations: 11.92 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.009748, allocations: 0 / 333.9 MB, free: 14.82 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 (16): * Single equations (assignments): 16 * 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.009825, allocations: 132.6 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.009874, allocations: 31.95 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.01005, allocations: 154.1 kB / 334.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01005, allocations: 4 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01005, allocations: 0 / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01005, allocations: 0 / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.01044, allocations: 454.1 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01044, allocations: 4.312 kB / 334.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.01051, allocations: 43.91 kB / 334.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.01051, allocations: 8 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01052, allocations: 0 / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01052, allocations: 0 / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01052, allocations: 0 / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01066, allocations: 278.8 kB / 335 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.0107, allocations: 51.59 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.01073, allocations: 8 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.0108, allocations: 7.984 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.01084, allocations: 19.95 kB / 335 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.01085, allocations: 4 kB / 335 MB, free: 13.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.01104, allocations: 283.1 kB / 335.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 335.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01124, allocations: 63.89 kB / 335.4 MB, free: 13.24 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 (16): * Single equations (assignments): 16 * 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.0009909/0.01223, allocations: 0.4885 MB / 335.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.01234, allocations: 68.69 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.01234, allocations: 4 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.01238, allocations: 44.75 kB / 336 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.01268, allocations: 90.23 kB / 336.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.01351, allocations: 0.7393 MB / 336.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.0136, allocations: 140.5 kB / 337 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.874e-05/0.01369, allocations: 59.55 kB / 337 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01382, allocations: 103.3 kB / 337.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01382, allocations: 0 / 337.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Templates: time 0.006647/0.02047, allocations: 4.342 MB / 341.5 MB, free: 7.445 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.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: 2.8865300551988184]