Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001116, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001237/0.001237, allocations: 191 kB / 19.34 MB, free: 3.766 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.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.15 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.2013/0.2013, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 72.45 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002958/0.1128, allocations: 1.706 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1142, allocations: 0.8808 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.1142, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1145, allocations: 47.75 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1147, allocations: 67.69 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.115, allocations: 107.6 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1152, allocations: 99.69 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.1153, allocations: 8.234 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.1153, allocations: 39.78 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1154, allocations: 39.78 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1154, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1155, allocations: 43.98 kB / 473.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1156, allocations: 31.84 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.1157, allocations: 43.66 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1158, allocations: 131.6 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1159, allocations: 0 / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1159, allocations: 0 / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1159, allocations: 0 / 474 MB, free: 10.42 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.0005115/0.1164, allocations: 434.7 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1164, allocations: 12.03 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1165, allocations: 20.73 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1168, allocations: 220.6 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1168, allocations: 384 / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1168, allocations: 4.125 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1169, allocations: 57.67 kB / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.117, allocations: 0 / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.117, allocations: 0 / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.117, allocations: 0 / 474.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.1171, allocations: 31.92 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1174, allocations: 288.9 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1176, allocations: 58.67 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1176, allocations: 20.84 kB / 475.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1177, allocations: 7.938 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.1178, allocations: 71.33 kB / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1178, allocations: 0 / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004979/0.1183, allocations: 185 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1184, allocations: 51.41 kB / 475.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1186, allocations: 266.3 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1186, allocations: 25.7 kB / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1187, allocations: 120.1 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1187, allocations: 19.72 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1188, allocations: 25.7 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1189, allocations: 330.8 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.119, allocations: 23.98 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.119, allocations: 33.66 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1191, allocations: 61.64 kB / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1191, allocations: 4 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1193, allocations: 101.5 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1193, allocations: 8 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.1194, allocations: 0 / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1194, allocations: 0 / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.1195, allocations: 15.94 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1195, allocations: 4 kB / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1195, allocations: 7.922 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1195, allocations: 8.031 kB / 476.4 MB, free: 7.711 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.0001095/0.1197, allocations: 137.8 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1197, allocations: 11.81 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1197, allocations: 25.39 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1197, allocations: 4 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1198, allocations: 0 / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1198, allocations: 3.938 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1202, allocations: 399.3 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1202, allocations: 384 / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1203, allocations: 15.92 kB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1203, allocations: 0 / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1203, allocations: 11.94 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1203, allocations: 0 / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1203, allocations: 3.938 kB / 477 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1205, allocations: 208.2 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1206, allocations: 92.91 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1206, allocations: 15.92 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1207, allocations: 0 / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.1207, allocations: 4 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1207, allocations: 7.984 kB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1209, allocations: 200.2 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 0 / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1212, allocations: 20 kB / 477.6 MB, free: 6.469 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.001011/0.1222, allocations: 467.1 kB / 478 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1224, allocations: 59.97 kB / 478.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1224, allocations: 12 kB / 478.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.1225, allocations: 31.92 kB / 478.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1228, allocations: 19.98 kB / 478.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1233, allocations: 283.7 kB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1235, allocations: 0.7197 MB / 479.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1235, allocations: 12.88 kB / 479.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1236, allocations: 15.44 kB / 479.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1236, allocations: 0 / 479.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004217/0.1278, allocations: 1.744 MB / 480.9 MB, free: 3.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches