Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001158/0.001158, allocations: 77.88 kB / 21.42 MB, free: 3.082 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.001714/0.001714, allocations: 170.6 kB / 24.82 MB, free: 8.957 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.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3093/0.3093, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.235e-05, allocations: 2.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002549/0.002562, allocations: 2.019 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.004566, allocations: 1.328 MB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.004708, allocations: 0 / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.004968, allocations: 67.38 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.005388, allocations: 211 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.006208, allocations: 0.5886 MB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.006507, allocations: 334.9 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.006655, allocations: 40.92 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.006872, allocations: 171.5 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.007052, allocations: 175.6 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.007082, allocations: 19.98 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.007185, allocations: 63.92 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.007308, allocations: 147.5 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.007371, allocations: 83.64 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.00767, allocations: 318.7 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007672, allocations: 3.938 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007674, allocations: 0 / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.00768, allocations: 4 kB / 384.1 MB, free: 12.81 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.0006341/0.008314, allocations: 0.8172 MB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008349, allocations: 12.03 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.00852, allocations: 88.5 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.008784, allocations: 332.6 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.008796, allocations: 8.375 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.008816, allocations: 8.375 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.00927, allocations: 136.3 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.009282, allocations: 3.938 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.009291, allocations: 3.938 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.009299, allocations: 4 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.009347, allocations: 23.97 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.009917, allocations: 0.5729 MB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.01003, allocations: 94.02 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.01006, allocations: 31.62 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.01009, allocations: 3.984 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01011, allocations: 37.39 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.01011, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006147/0.01073, allocations: 264.8 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.01076, allocations: 81.09 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.01126, allocations: 0.6273 MB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01128, allocations: 37.69 kB / 387.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.01148, allocations: 327 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.01152, allocations: 59.47 kB / 387.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.01158, allocations: 43.56 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.01176, allocations: 0.5624 MB / 388.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.0118, allocations: 11.94 kB / 388.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.01185, allocations: 44.08 kB / 388.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.764e-05/0.01195, allocations: 67.28 kB / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01195, allocations: 0 / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001982/0.01215, allocations: 149.3 kB / 388.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01216, allocations: 15.94 kB / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01217, allocations: 0 / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01218, allocations: 0 / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.0123, allocations: 43.91 kB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.0123, allocations: 0 / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.01237, allocations: 7.984 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01238, allocations: 8 kB / 388.5 MB, free: 8.07 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 (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 9.7e-05/0.01248, allocations: 168.5 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.01256, allocations: 59.62 kB / 388.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.01283, allocations: 186.5 kB / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01283, allocations: 0 / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01283, allocations: 4 kB / 388.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01283, allocations: 0 / 388.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.01345, allocations: 0.6336 MB / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01345, allocations: 0 / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-05/0.01354, allocations: 31.97 kB / 389.6 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01355, allocations: 4 kB / 389.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01356, allocations: 8 kB / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01356, allocations: 0 / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01356, allocations: 7.984 kB / 389.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.01383, allocations: 418.6 kB / 390 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.01389, allocations: 55.61 kB / 390.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01392, allocations: 0 / 390.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.01404, allocations: 19.92 kB / 390.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.01408, allocations: 11.97 kB / 390.1 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01409, allocations: 8 kB / 390.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.0144, allocations: 402.6 kB / 390.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0144, allocations: 0 / 390.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.01471, allocations: 63.92 kB / 390.6 MB, free: 5.945 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 (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.0009252/0.01564, allocations: 381.5 kB / 391 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01578, allocations: 75.72 kB / 391 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.01578, allocations: 0 / 391 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.01584, allocations: 51.89 kB / 391.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.0163, allocations: 93.16 kB / 391.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.0173, allocations: 0.7756 MB / 392 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01741, allocations: 144.5 kB / 392.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.01753, allocations: 59.08 kB / 392.2 MB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.01768, allocations: 126.2 kB / 392.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01768, allocations: 0 / 392.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of Templates: time 0.00786/0.02554, allocations: 4.493 MB / 396.8 MB, free: 15.92 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.460145675111562]