Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 106.1 kB / 18.3 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.001877/0.001877, allocations: 195.3 kB / 19.23 MB, free: 3.961 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 / 242.9 MB, free: 15.2 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.2076/0.2076, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.27 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003352/0.1126, allocations: 1.723 MB / 471.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1141, allocations: 0.8886 MB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.1143, allocations: 3.938 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1146, allocations: 47.81 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1149, allocations: 63.69 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1153, allocations: 115.2 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1155, allocations: 119.7 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1156, allocations: 11.98 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1157, allocations: 47.8 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.1158, allocations: 59.75 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1158, allocations: 4 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.116, allocations: 59.97 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.1161, allocations: 23.92 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1162, allocations: 43.73 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1164, allocations: 135.8 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1164, allocations: 3.938 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1164, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1165, allocations: 0 / 473.3 MB, free: 11.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005543/0.117, allocations: 434.9 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1171, allocations: 12.03 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1171, allocations: 12.84 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1174, allocations: 222.6 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1174, allocations: 384 / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1174, allocations: 16.03 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1176, allocations: 73.59 kB / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1176, allocations: 0 / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1176, allocations: 0 / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1176, allocations: 7.938 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1178, allocations: 43.97 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1182, allocations: 324.7 kB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1185, allocations: 82.48 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.1186, allocations: 28.84 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1186, allocations: 4 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1188, allocations: 87.41 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.1189, allocations: 0 / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008683/0.1197, allocations: 292.9 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1198, allocations: 55.34 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.12, allocations: 179.3 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.12, allocations: 37.69 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1201, allocations: 104.3 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.1201, allocations: 51.53 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1202, allocations: 29.7 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1203, allocations: 322.8 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.1204, allocations: 39.98 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.1205, allocations: 53.69 kB / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1207, allocations: 97.7 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1207, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.1209, allocations: 157.5 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.121, allocations: 4.844 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.121, allocations: 0 / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.121, allocations: 4 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.1211, allocations: 27.92 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1211, allocations: 3.938 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1212, allocations: 12.03 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1212, allocations: 4 kB / 476 MB, free: 8.004 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 (15): * Single equations (assignments): 15 * 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.0001217/0.1213, allocations: 125.8 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1214, allocations: 15.81 kB / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1214, allocations: 25.45 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1214, allocations: 4 kB / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1214, allocations: 7.875 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1214, allocations: 0 / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1221, allocations: 487.9 kB / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1221, allocations: 0 / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1221, allocations: 19.98 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1221, allocations: 0 / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1222, allocations: 4 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1222, allocations: 0 / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1222, allocations: 7.984 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1225, allocations: 259.5 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1226, allocations: 96.89 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.1226, allocations: 8 kB / 477.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1227, allocations: 4 kB / 477.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.1227, allocations: 11.92 kB / 477.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.1228, allocations: 12 kB / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1229, allocations: 139.9 kB / 477.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1229, allocations: 0 / 477.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1232, allocations: 32 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001173/0.1244, allocations: 0.51 MB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1246, allocations: 103.8 kB / 477.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1247, allocations: 0 / 477.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1248, allocations: 59.97 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1251, allocations: 31.86 kB / 478 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.1257, allocations: 298.4 kB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.126, allocations: 0.7123 MB / 479 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1261, allocations: 19.44 kB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1261, allocations: 0 / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Templates: time 0.004381/0.1304, allocations: 2.352 MB / 481.3 MB, free: 2.738 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches