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.0009688/0.0009688, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001002/0.001002, allocations: 165 kB / 24.56 MB, free: 16 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.9785/0.9785, allocations: 177.2 MB / 205 MB, free: 5.289 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.2862/0.2862, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.774e-06/1.774e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.664e-05/3.841e-05, allocations: 5.547 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003838/0.003877, allocations: 2.039 MB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.006744, allocations: 1.328 MB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.006894, allocations: 8 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.007194, allocations: 59.44 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.007754, allocations: 215 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.008601, allocations: 0.5924 MB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.008987, allocations: 331 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.009141, allocations: 36.92 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.009397, allocations: 179.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.009596, allocations: 171.5 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.009628, allocations: 16 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.009746, allocations: 63.91 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.009883, allocations: 155.5 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.009962, allocations: 83.58 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.01031, allocations: 314.7 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01031, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01031, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01032, allocations: 0 / 383.6 MB, free: 13.05 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.0008352/0.01115, allocations: 0.8212 MB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.0112, allocations: 8.031 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.01143, allocations: 84.5 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.01185, allocations: 360.5 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.01186, allocations: 8.375 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.0119, allocations: 8.375 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.01211, allocations: 133.2 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01213, allocations: 7.875 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.01214, allocations: 8 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.01215, allocations: 3.984 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.01222, allocations: 35.97 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.01285, allocations: 0.67 MB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.01297, allocations: 98.17 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.01301, allocations: 35.36 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.01303, allocations: 4.125 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01305, allocations: 41.39 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01306, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007131/0.01377, allocations: 431.5 kB / 386.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.0138, allocations: 77.11 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.01429, allocations: 0.6666 MB / 387.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.0143, allocations: 25.7 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.01446, allocations: 315.1 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.01451, allocations: 59.48 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.01457, allocations: 43.36 kB / 387.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01475, allocations: 0.5586 MB / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.0148, allocations: 15.98 kB / 388.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.01486, allocations: 43.36 kB / 388.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.01497, allocations: 75.36 kB / 388.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01497, allocations: 0 / 388.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001991/0.01517, allocations: 165.2 kB / 388.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01518, allocations: 4 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01519, allocations: 7.922 kB / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.0152, allocations: 0 / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01531, allocations: 35.98 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01532, allocations: 0 / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.01537, allocations: 12.2 kB / 388.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01538, allocations: 8 kB / 388.4 MB, free: 7.965 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 0.0004224/0.0158, allocations: 164.5 kB / 388.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.01587, allocations: 67.56 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.01612, allocations: 191.1 kB / 388.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01612, allocations: 0 / 388.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01612, allocations: 8 kB / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01612, allocations: 0 / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.01669, allocations: 0.7424 MB / 389.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01669, allocations: 0 / 389.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.01677, allocations: 35.97 kB / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01677, allocations: 0 / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01678, allocations: 4 kB / 389.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01678, allocations: 0 / 389.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01678, allocations: 3.938 kB / 389.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01702, allocations: 430.7 kB / 390.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.01707, allocations: 63.61 kB / 390.1 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01709, allocations: 4 kB / 390.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.01717, allocations: 11.98 kB / 390.1 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.01721, allocations: 11.98 kB / 390.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01722, allocations: 7.984 kB / 390.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002868/0.01751, allocations: 438.7 kB / 390.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01751, allocations: 0 / 390.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01774, allocations: 55.94 kB / 390.6 MB, free: 5.676 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.000829/0.01857, allocations: 393.3 kB / 391 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01873, allocations: 83.5 kB / 391.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01873, allocations: 0 / 391.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.01879, allocations: 59.58 kB / 391.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.01915, allocations: 84.12 kB / 391.2 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.02007, allocations: 0.7717 MB / 392 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.02015, allocations: 140.5 kB / 392.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.02025, allocations: 70.89 kB / 392.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.02033, allocations: 44.48 kB / 392.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02033, allocations: 0 / 392.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of Templates: time 0.006771/0.0271, allocations: 4.448 MB / 396.7 MB, free: 15.73 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.2386935390532017]