Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 111.6 kB / 17.98 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.001088/0.001088, allocations: 189.3 kB / 18.9 MB, free: 4.141 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.289/1.289, 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.2047/0.2047, allocations: 44.18 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 70.2 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003325/0.1124, allocations: 1.761 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1145, allocations: 1.46 MB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.1146, allocations: 4 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1149, allocations: 35.89 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1152, allocations: 43.83 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1155, allocations: 99.39 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1157, allocations: 99.69 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.1158, allocations: 12.23 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.1159, allocations: 47.78 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1161, allocations: 39.78 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1161, allocations: 4 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1162, allocations: 63.95 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.1163, allocations: 15.92 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1164, allocations: 27.81 kB / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1165, allocations: 92.09 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1166, allocations: 0 / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1166, allocations: 0 / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1166, allocations: 0 / 473.2 MB, free: 10.92 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.0005265/0.1171, allocations: 407.1 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1172, allocations: 8.031 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1172, allocations: 12.78 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1175, allocations: 212.1 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1175, allocations: 384 / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1175, allocations: 8.125 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1177, allocations: 63.39 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1177, allocations: 0 / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1177, allocations: 8 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1178, allocations: 0 / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.1178, allocations: 23.92 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1182, allocations: 276.9 kB / 474.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1184, allocations: 58.67 kB / 474.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1184, allocations: 20.86 kB / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1185, allocations: 4 kB / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1187, allocations: 75.31 kB / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1187, allocations: 0 / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.1192, allocations: 169.2 kB / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1193, allocations: 81.11 kB / 474.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1195, allocations: 160.5 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1195, allocations: 25.7 kB / 474.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.1195, allocations: 96.12 kB / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1196, allocations: 19.72 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.1196, allocations: 33.64 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1197, allocations: 322.8 kB / 475.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.1198, allocations: 15.98 kB / 475.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1199, allocations: 50.56 kB / 475.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.12, allocations: 61.62 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.12, allocations: 0 / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1202, allocations: 97.59 kB / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1202, allocations: 4 kB / 475.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1202, allocations: 7.922 kB / 475.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1203, allocations: 0 / 475.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.1204, allocations: 24.05 kB / 475.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1204, allocations: 0 / 475.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.1204, allocations: 11.88 kB / 475.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1204, allocations: 0 / 475.5 MB, free: 8.363 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.0001084/0.1206, allocations: 125.8 kB / 475.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1206, allocations: 7.906 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1206, allocations: 12.72 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1206, allocations: 0 / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1206, allocations: 0 / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1207, allocations: 11.92 kB / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.1211, allocations: 383.5 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1211, allocations: 4 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.1212, allocations: 11.94 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1212, allocations: 4 kB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1212, allocations: 3.938 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1212, allocations: 3.984 kB / 476 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1212, allocations: 4.078 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1214, allocations: 204.2 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1215, allocations: 85.02 kB / 476.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1215, allocations: 8.312 kB / 476.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1216, allocations: 0 / 476.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1216, allocations: 11.98 kB / 476.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1217, allocations: 11.94 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1218, allocations: 121.8 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1218, allocations: 3.938 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.122, allocations: 28 kB / 476.5 MB, free: 7.23 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.001169/0.1232, allocations: 0.4971 MB / 477 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1234, allocations: 59.91 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1234, allocations: 0 / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.1235, allocations: 28.12 kB / 477.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1238, allocations: 32.22 kB / 477.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.1243, allocations: 240.5 kB / 477.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1246, allocations: 0.7001 MB / 478.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1246, allocations: 23.42 kB / 478.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1246, allocations: 0 / 478.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Templates: time 0.004346/0.129, allocations: 2.052 MB / 480.1 MB, free: 3.746 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches