Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001774/0.001774, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.002272/0.002272, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3429/0.3429, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.644e-06/2.644e-06, allocations: 0 / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.793e-05, allocations: 2.312 kB / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004423/0.004461, allocations: 1.669 MB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005744, allocations: 0.5413 MB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.005824, allocations: 4 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.006135, allocations: 67.7 kB / 379.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.006548, allocations: 103.6 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.006949, allocations: 139.4 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.007145, allocations: 87.75 kB / 379.9 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.007254, allocations: 16.22 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.00739, allocations: 51.83 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.007524, allocations: 51.92 kB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.007544, allocations: 4 kB / 380 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.007674, allocations: 47.92 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.007768, allocations: 31.84 kB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.007809, allocations: 15.94 kB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.008095, allocations: 119.5 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008099, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.0081, allocations: 4 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.008106, allocations: 0 / 380.3 MB, free: 15.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006684/0.008774, allocations: 345.6 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.008817, allocations: 12.03 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.008893, allocations: 16.84 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.009135, allocations: 146.3 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.009155, allocations: 8.312 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.009185, allocations: 4.375 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.009406, allocations: 62.23 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.009418, allocations: 4.188 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.009432, allocations: 4.125 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.009438, allocations: 0 / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.009597, allocations: 43.95 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.01004, allocations: 244.4 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.01034, allocations: 58.48 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.01042, allocations: 24.97 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01045, allocations: 4.094 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.01048, allocations: 38.5 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01048, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001629/0.01211, allocations: 405.3 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.01217, allocations: 55.34 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.01243, allocations: 214.8 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.01245, allocations: 29.7 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.01254, allocations: 108.1 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.01259, allocations: 39.64 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.01265, allocations: 25.72 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.01284, allocations: 330.8 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.01298, allocations: 43.91 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.01312, allocations: 48.02 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.01339, allocations: 100.8 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01339, allocations: 0 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003527/0.01374, allocations: 145.5 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01376, allocations: 5.719 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01376, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.01378, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.01391, allocations: 31.92 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.01391, allocations: 4 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.01398, allocations: 11.98 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.014, allocations: 4 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.000147/0.01414, allocations: 133.8 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.0142, allocations: 15.91 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.01464, allocations: 167 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01464, allocations: 3.938 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01464, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01465, allocations: 7.984 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.01538, allocations: 407.6 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01538, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.0155, allocations: 35.97 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.0155, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.01552, allocations: 8 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01552, allocations: 3.938 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01552, allocations: 192 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.01598, allocations: 257 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.016, allocations: 11.89 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.01603, allocations: 8 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01614, allocations: 19.92 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.01619, allocations: 7.984 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.0162, allocations: 4 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.01637, allocations: 163.2 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 0 / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.01665, allocations: 20 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002278/0.01893, allocations: 488.8 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.01927, allocations: 103.8 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01928, allocations: 4 kB / 384.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.01944, allocations: 63.89 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.01985, allocations: 23.84 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.02055, allocations: 315.1 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.02068, allocations: 97.98 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.02075, allocations: 16.61 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.0208, allocations: 24.48 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0208, allocations: 0 / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005229/0.02603, allocations: 1.588 MB / 386.8 MB, free: 9.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.874050386948511]