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.001397/0.001397, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.00126/0.00126, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.29/1.29, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2021/0.2021, allocations: 44.18 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 72.03 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.117, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002934/0.12, allocations: 1.773 MB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1213, allocations: 0.8692 MB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.1214, allocations: 0 / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1216, allocations: 47.81 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1219, allocations: 47.83 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1221, allocations: 102.8 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1223, allocations: 123.7 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.1224, allocations: 16 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.1225, allocations: 51.78 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.1226, allocations: 51.7 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1226, allocations: 8 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1227, allocations: 63.97 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.1228, allocations: 27.91 kB / 472.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.1228, allocations: 39.73 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.123, allocations: 104.1 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.123, allocations: 0 / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.123, allocations: 4 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.123, allocations: 0 / 472.7 MB, free: 11.4 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.0005068/0.1236, allocations: 430.9 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1236, allocations: 11.97 kB / 473.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1236, allocations: 12.84 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1239, allocations: 220.8 kB / 473.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1239, allocations: 8.375 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1239, allocations: 12.03 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1241, allocations: 73.66 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1241, allocations: 3.938 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1241, allocations: 3.984 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1241, allocations: 4 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1242, allocations: 39.97 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1246, allocations: 312.8 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1249, allocations: 94.56 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.531e-05/0.125, allocations: 28.86 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.125, allocations: 8.125 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1252, allocations: 75.39 kB / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1252, allocations: 7.875 kB / 474 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008073/0.1261, allocations: 300.9 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1261, allocations: 55.34 kB / 474.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1263, allocations: 183.3 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1263, allocations: 25.7 kB / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.1264, allocations: 116.3 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1264, allocations: 39.39 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1265, allocations: 29.72 kB / 474.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1266, allocations: 330.8 kB / 475.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.1267, allocations: 39.98 kB / 475.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.1268, allocations: 53.64 kB / 475.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.127, allocations: 97.7 kB / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.127, allocations: 0 / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002403/0.1272, allocations: 149.5 kB / 475.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1272, allocations: 4 kB / 475.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1272, allocations: 8.016 kB / 475.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1273, allocations: 0 / 475.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.1273, allocations: 28 kB / 475.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1274, allocations: 3.938 kB / 475.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1274, allocations: 7.969 kB / 475.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1274, allocations: 4 kB / 475.5 MB, free: 8.391 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 9.468e-05/0.1275, allocations: 134.3 kB / 475.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1276, allocations: 15.81 kB / 475.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.1276, allocations: 22.38 kB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1276, allocations: 8 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1276, allocations: 3.938 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1277, allocations: 3.984 kB / 475.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.1282, allocations: 487.9 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1282, allocations: 0 / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1283, allocations: 19.94 kB / 476.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1283, allocations: 4.062 kB / 476.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1283, allocations: 11.98 kB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1283, allocations: 3.938 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1283, allocations: 0 / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.1286, allocations: 249.7 kB / 476.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1287, allocations: 96.86 kB / 476.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1287, allocations: 8 kB / 476.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1288, allocations: 0 / 476.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.1288, allocations: 15.98 kB / 476.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1289, allocations: 7.984 kB / 476.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.129, allocations: 136.9 kB / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.129, allocations: 0 / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1292, allocations: 35.98 kB / 476.7 MB, free: 7.043 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.001132/0.1304, allocations: 0.5052 MB / 477.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1306, allocations: 107.9 kB / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1306, allocations: 0 / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.1307, allocations: 55.86 kB / 477.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1311, allocations: 35.84 kB / 477.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.1316, allocations: 334.4 kB / 477.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1319, allocations: 0.7123 MB / 478.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1319, allocations: 23.42 kB / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1319, allocations: 0 / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.003766/0.1357, allocations: 2.343 MB / 480.8 MB, free: 3.09 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