Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00111/0.00111, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001325/0.001325, allocations: 162 kB / 24.99 MB, free: 8.297 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 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2692/0.2692, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/3.842e-05, allocations: 9.484 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00337/0.003408, allocations: 2.035 MB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.00527, allocations: 1.32 MB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.00548, allocations: 7.938 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.005816, allocations: 67.36 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.006421, allocations: 207.1 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.007471, allocations: 0.5885 MB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.007886, allocations: 331 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.008049, allocations: 52.89 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.008329, allocations: 171.5 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.008525, allocations: 175.6 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.008553, allocations: 16 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.008707, allocations: 72 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.008842, allocations: 151.5 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.008918, allocations: 83.64 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.009284, allocations: 314.6 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.009289, allocations: 0 / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00929, allocations: 0 / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.009297, allocations: 0 / 381.6 MB, free: 15.4 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.0007955/0.01009, allocations: 0.8173 MB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.01013, allocations: 12.02 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.01036, allocations: 88.5 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.01075, allocations: 348.6 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.01077, allocations: 4.375 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.01079, allocations: 16.31 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.011, allocations: 132.4 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01101, allocations: 7.922 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.01103, allocations: 4 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01104, allocations: 4 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.01111, allocations: 39.91 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.01173, allocations: 0.67 MB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.01186, allocations: 94.16 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.0119, allocations: 27.5 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.01192, allocations: 4 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.01195, allocations: 45.38 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.01195, allocations: 0 / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007513/0.0127, allocations: 427.5 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.01274, allocations: 85.09 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.01325, allocations: 0.659 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.01327, allocations: 29.7 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.01344, allocations: 323 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.01349, allocations: 59.48 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.01354, allocations: 39.36 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.01372, allocations: 0.5586 MB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.01377, allocations: 19.98 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.01382, allocations: 39.36 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.01393, allocations: 71.34 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01393, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002102/0.01414, allocations: 169.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01416, allocations: 10.19 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01416, allocations: 4 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01418, allocations: 0 / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.0143, allocations: 35.92 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01431, allocations: 3.984 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.01436, allocations: 8 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01437, allocations: 4 kB / 386.4 MB, free: 10.32 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.728e-05/0.01447, allocations: 160.6 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.01454, allocations: 71.55 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.01485, allocations: 190.9 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.01485, allocations: 7.984 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01486, allocations: 0 / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01486, allocations: 0 / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.01548, allocations: 0.7388 MB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.01548, allocations: 4 kB / 387.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.01557, allocations: 35.91 kB / 387.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.01558, allocations: 4 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01559, allocations: 4 kB / 387.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01559, allocations: 4 kB / 387.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.0156, allocations: 4 kB / 387.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.01586, allocations: 434.5 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.01591, allocations: 59.61 kB / 388.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.01594, allocations: 4 kB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.01602, allocations: 11.98 kB / 388.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.01608, allocations: 11.98 kB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01609, allocations: 7.984 kB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.01641, allocations: 438.7 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01641, allocations: 0 / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01667, allocations: 59.92 kB / 388.6 MB, free: 8.02 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.0009573/0.01763, allocations: 373.6 kB / 389 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.01783, allocations: 83.5 kB / 389 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01784, allocations: 4 kB / 389 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.0179, allocations: 51.59 kB / 389.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.01833, allocations: 85.67 kB / 389.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.01951, allocations: 0.7769 MB / 390 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.0196, allocations: 144.5 kB / 390.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.01973, allocations: 75.52 kB / 390.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.0198, allocations: 32.5 kB / 390.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.0198, allocations: 0 / 390.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of Templates: time 0.007434/0.02724, allocations: 4.186 MB / 394.4 MB, free: 2.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.369956874055788]