Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 112.6 kB / 17.98 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 189.3 kB / 18.9 MB, free: 4.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.17 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 60.09 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 60.84 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003184/0.1196, allocations: 1.714 MB / 471.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.121, allocations: 0.842 MB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.1211, allocations: 4 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1214, allocations: 47.88 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1216, allocations: 51.77 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.122, allocations: 91.45 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1221, allocations: 99.69 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.1222, allocations: 8 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.1223, allocations: 31.86 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.1224, allocations: 43.66 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1224, allocations: 4 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.1225, allocations: 31.98 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1226, allocations: 27.91 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.1226, allocations: 39.67 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1228, allocations: 92.09 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1228, allocations: 0 / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1228, allocations: 0 / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1228, allocations: 4 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005379/0.1234, allocations: 430.8 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1234, allocations: 8.031 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.1235, allocations: 16.75 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1237, allocations: 216.5 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1237, allocations: 384 / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1237, allocations: 8.125 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1239, allocations: 49.67 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1239, allocations: 0 / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1239, allocations: 11.94 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1239, allocations: 0 / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.124, allocations: 15.98 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.1242, allocations: 185.6 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1244, allocations: 54.61 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1244, allocations: 20.8 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1245, allocations: 11.98 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1247, allocations: 59.39 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1247, allocations: 0 / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002982/0.125, allocations: 101.4 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.125, allocations: 51.41 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1253, allocations: 262.3 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1253, allocations: 29.7 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.1254, allocations: 116.1 kB / 474.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1254, allocations: 3.906 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1255, allocations: 21.72 kB / 474.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1256, allocations: 330.8 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.1256, allocations: 12 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1257, allocations: 25.7 kB / 474.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1259, allocations: 57.89 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1259, allocations: 0 / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001536/0.126, allocations: 85.38 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1261, allocations: 8 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1261, allocations: 0 / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1261, allocations: 0 / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1262, allocations: 11.94 kB / 474.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1262, allocations: 7.984 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.1262, allocations: 11.97 kB / 474.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1262, allocations: 4.156 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001017/0.1264, allocations: 137.1 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1264, allocations: 11.81 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1264, allocations: 20.98 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1264, allocations: 0 / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1264, allocations: 0 / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1265, allocations: 0 / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1266, allocations: 201.5 kB / 475.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1266, allocations: 7.938 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.1266, allocations: 4 kB / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1266, allocations: 4 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1267, allocations: 7.922 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1267, allocations: 3.984 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1267, allocations: 0 / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1269, allocations: 112.9 kB / 475.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.1269, allocations: 88.92 kB / 475.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1269, allocations: 8 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.127, allocations: 4.109 kB / 475.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.127, allocations: 4 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.127, allocations: 8 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1272, allocations: 196.2 kB / 475.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 0 / 475.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1274, allocations: 19.98 kB / 475.5 MB, free: 8.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009059/0.1283, allocations: 405.4 kB / 475.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1285, allocations: 47.92 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1285, allocations: 4 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.1286, allocations: 27.86 kB / 476 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1289, allocations: 28.17 kB / 476 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1294, allocations: 316.4 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1297, allocations: 0.7158 MB / 477 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1297, allocations: 11.44 kB / 477 MB, free: 6.793 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1297, allocations: 0 / 477 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Templates: time 0.003674/0.1334, allocations: 1.825 MB / 478.9 MB, free: 4.973 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches