Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 106.1 kB / 18.3 MB, free: 4.836 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.001933/0.001932, allocations: 199.3 kB / 19.23 MB, free: 3.91 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.425/1.425, allocations: 222.9 MB / 242.9 MB, free: 15.26 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.2016/0.2016, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 59.91 kB / 409.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1143, allocations: 60.84 MB / 469.9 MB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003822/0.1182, allocations: 1.886 MB / 471.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1201, allocations: 0.9821 MB / 472.8 MB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1202, allocations: 7.938 kB / 472.8 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.1207, allocations: 159.5 kB / 473 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.1212, allocations: 131.5 kB / 473.1 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1217, allocations: 179.1 kB / 473.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.1221, allocations: 227.3 kB / 473.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1222, allocations: 29.67 kB / 473.5 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1224, allocations: 107.5 kB / 473.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1226, allocations: 123.6 kB / 473.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.47e-05/0.1227, allocations: 12 kB / 473.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1229, allocations: 63.97 kB / 473.8 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.123, allocations: 51.77 kB / 473.9 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1231, allocations: 83.39 kB / 474 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.1234, allocations: 207.6 kB / 474.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1234, allocations: 0 / 474.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1234, allocations: 0 / 474.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1235, allocations: 0 / 474.2 MB, free: 14.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008155/0.1243, allocations: 0.5216 MB / 474.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1243, allocations: 23.91 kB / 474.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.1244, allocations: 20.66 kB / 474.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1248, allocations: 275.5 kB / 475 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1248, allocations: 8.359 kB / 475 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.1248, allocations: 12.12 kB / 475 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.1251, allocations: 111.3 kB / 475.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1251, allocations: 0 / 475.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1251, allocations: 4 kB / 475.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1252, allocations: 8 kB / 475.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1253, allocations: 39.97 kB / 475.2 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.1259, allocations: 468.7 kB / 475.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.1263, allocations: 117.2 kB / 475.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1264, allocations: 53.75 kB / 475.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1265, allocations: 4 kB / 475.8 MB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.1268, allocations: 117.1 kB / 475.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.1268, allocations: 4 kB / 475.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.1282, allocations: 496.2 kB / 476.4 MB, free: 11.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1282, allocations: 77.11 kB / 476.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1286, allocations: 351 kB / 476.8 MB, free: 11.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1286, allocations: 37.64 kB / 476.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1287, allocations: 140.5 kB / 477 MB, free: 11.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.1288, allocations: 78.98 kB / 477.1 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.1289, allocations: 41.7 kB / 477.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1291, allocations: 338.8 kB / 477.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1292, allocations: 55.97 kB / 477.5 MB, free: 10.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1294, allocations: 99.28 kB / 477.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.1296, allocations: 163.5 kB / 477.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1296, allocations: 0 / 477.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004814/0.1301, allocations: 229 kB / 478 MB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1302, allocations: 11.94 kB / 478 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1302, allocations: 4.062 kB / 478 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1302, allocations: 4 kB / 478 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1305, allocations: 43.97 kB / 478 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1305, allocations: 7.938 kB / 478 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.1306, allocations: 4 kB / 478.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1306, allocations: 8 kB / 478.1 MB, free: 10.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001557/0.1308, allocations: 157.8 kB / 478.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.1308, allocations: 27.66 kB / 478.2 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.1309, allocations: 37.73 kB / 478.3 MB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1309, allocations: 4 kB / 478.3 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1309, allocations: 0 / 478.3 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1309, allocations: 0 / 478.3 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/0.1319, allocations: 0.7193 MB / 479 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1319, allocations: 4 kB / 479 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.132, allocations: 35.92 kB / 479 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.132, allocations: 0 / 479 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.132, allocations: 8 kB / 479 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.132, allocations: 0 / 479 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.132, allocations: 4 kB / 479.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1325, allocations: 431.6 kB / 479.5 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1326, allocations: 92.83 kB / 479.6 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1327, allocations: 11.98 kB / 479.6 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1328, allocations: 4 kB / 479.6 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.1329, allocations: 31.91 kB / 479.6 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.1329, allocations: 12 kB / 479.6 MB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.1332, allocations: 265.9 kB / 479.9 MB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 0 / 479.9 MB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1335, allocations: 48 kB / 479.9 MB, free: 8.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001245/0.1348, allocations: 0.5077 MB / 480.4 MB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1352, allocations: 171.8 kB / 480.6 MB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1352, allocations: 0 / 480.6 MB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1354, allocations: 79.89 kB / 480.7 MB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1359, allocations: 63.84 kB / 480.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.1368, allocations: 0.5185 MB / 481.3 MB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1372, allocations: 0.7674 MB / 482 MB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.1373, allocations: 35.42 kB / 482.1 MB, free: 6.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1373, allocations: 0 / 482.1 MB, free: 6.102 MB / 398.1 MB Notification: Performance of Templates: time 0.006731/0.1441, allocations: 3.489 MB / 485.6 MB, free: 2.625 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches