Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001306/0.001306, allocations: 194 kB / 18.12 MB, free: 5.383 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.46/1.46, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2167/0.2167, allocations: 44.18 MB / 336.1 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.44 kB / 407.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 60.84 MB / 468.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003047/0.1178, allocations: 1.749 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1191, allocations: 0.8653 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.1191, allocations: 0 / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1194, allocations: 39.83 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1197, allocations: 43.84 kB / 471.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1199, allocations: 91.81 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1201, allocations: 95.69 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.1201, allocations: 8.234 kB / 471.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.1202, allocations: 39.73 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.1203, allocations: 31.84 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1203, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.1204, allocations: 39.98 kB / 471.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.1205, allocations: 19.92 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.1205, allocations: 39.72 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1207, allocations: 111.9 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1207, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1207, allocations: 4 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1207, allocations: 3.938 kB / 471.7 MB, free: 11.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005047/0.1212, allocations: 403.1 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1213, allocations: 12.03 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.1213, allocations: 12.83 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1216, allocations: 200 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1216, allocations: 4.375 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1216, allocations: 8.125 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1218, allocations: 57.67 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1218, allocations: 4 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1218, allocations: 7.984 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1218, allocations: 7.875 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.1219, allocations: 23.97 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1223, allocations: 284.9 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1225, allocations: 54.69 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.1225, allocations: 28.78 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1226, allocations: 0 / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1228, allocations: 63.39 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1228, allocations: 3.938 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.1234, allocations: 177.2 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1234, allocations: 55.41 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1236, allocations: 186.2 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1236, allocations: 29.7 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.1237, allocations: 96.14 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1237, allocations: 27.64 kB / 473.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1238, allocations: 25.72 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1239, allocations: 322.8 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.124, allocations: 23.98 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/0.1241, allocations: 37.7 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1242, allocations: 61.64 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1242, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1244, allocations: 105.4 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1244, allocations: 10.5 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1244, allocations: 0 / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1245, allocations: 4.031 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.1246, allocations: 15.98 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1246, allocations: 4 kB / 474 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1246, allocations: 3.938 kB / 474 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1246, allocations: 4 kB / 474 MB, free: 9.031 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 (10): * Single equations (assignments): 10 * 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.000111/0.1248, allocations: 125.8 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1248, allocations: 7.906 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1248, allocations: 16.72 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1248, allocations: 4.375 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1249, allocations: 3.938 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1249, allocations: 7.922 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.1253, allocations: 391.4 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1254, allocations: 0 / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1254, allocations: 12.12 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1254, allocations: 0 / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1254, allocations: 11.88 kB / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1254, allocations: 4.031 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1254, allocations: 0 / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1257, allocations: 200.2 kB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1258, allocations: 89 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1258, allocations: 7.875 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1259, allocations: 4 kB / 474.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.126, allocations: 15.92 kB / 474.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.126, allocations: 4 kB / 474.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1261, allocations: 143.2 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1261, allocations: 0 / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1264, allocations: 27.98 kB / 475.1 MB, free: 7.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001083/0.1275, allocations: 467 kB / 475.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1277, allocations: 59.91 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1277, allocations: 0 / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.1278, allocations: 28 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1281, allocations: 23.97 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1286, allocations: 245 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1289, allocations: 0.7083 MB / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.129, allocations: 20.86 kB / 476.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.129, allocations: 15.44 kB / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.129, allocations: 0 / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004844/0.1339, allocations: 1.639 MB / 478.3 MB, free: 4.812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches