Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107.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.001223/0.001223, allocations: 192 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.343/1.343, allocations: 222.9 MB / 243 MB, free: 15.07 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.2114/0.2114, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 69.5 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003313/0.1155, allocations: 1.699 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1172, allocations: 0.8925 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1173, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1177, allocations: 47.75 kB / 473.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.118, allocations: 55.77 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1184, allocations: 115.5 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1186, allocations: 87.77 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1188, allocations: 12.22 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1189, allocations: 43.78 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.119, allocations: 23.86 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1191, allocations: 8 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1192, allocations: 47.97 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1193, allocations: 27.8 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.1194, allocations: 39.73 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1197, allocations: 115.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1197, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1197, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1197, allocations: 0 / 473.9 MB, free: 10.45 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.0007172/0.1204, allocations: 422.9 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1205, allocations: 16.03 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1206, allocations: 12.75 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.121, allocations: 216 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.121, allocations: 4.375 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.121, allocations: 4.125 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1212, allocations: 53.67 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1213, allocations: 0 / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1213, allocations: 7.984 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1213, allocations: 0 / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1214, allocations: 19.98 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.1219, allocations: 300.7 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1222, allocations: 54.69 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.1222, allocations: 20.84 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1223, allocations: 4 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1225, allocations: 67.39 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.128e-06/0.1225, allocations: 0 / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007362/0.1232, allocations: 185.1 kB / 475.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1233, allocations: 55.41 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1236, allocations: 226.6 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1237, allocations: 25.7 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.1238, allocations: 116 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1238, allocations: 23.66 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1239, allocations: 25.7 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1241, allocations: 326.8 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.1242, allocations: 23.94 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1243, allocations: 37.7 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1245, allocations: 57.7 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1245, allocations: 0 / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002913/0.1248, allocations: 105.5 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1248, allocations: 4 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1248, allocations: 0 / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1249, allocations: 0 / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.125, allocations: 19.94 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.125, allocations: 0 / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.1251, allocations: 7.922 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1251, allocations: 8.031 kB / 476.3 MB, free: 7.805 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.000143/0.1253, allocations: 128.5 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1253, allocations: 19.8 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.1254, allocations: 13.41 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1254, allocations: 4 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1254, allocations: 0 / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1255, allocations: 3.938 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1261, allocations: 403.3 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1261, allocations: 0 / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.1262, allocations: 8 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1262, allocations: 0 / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1262, allocations: 7.938 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1262, allocations: 0 / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1262, allocations: 0 / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1266, allocations: 216.4 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.1266, allocations: 85.02 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1267, allocations: 7.938 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1268, allocations: 192 / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1269, allocations: 12.36 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1269, allocations: 7.938 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1271, allocations: 167.2 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.1271, allocations: 0 / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.1276, allocations: 35.92 kB / 477.4 MB, free: 6.605 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.001688/0.1293, allocations: 467.3 kB / 477.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1296, allocations: 59.97 kB / 477.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1296, allocations: 4.062 kB / 477.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1297, allocations: 23.94 kB / 478 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.1302, allocations: 33.59 kB / 478 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.1308, allocations: 258.8 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1312, allocations: 0.708 MB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.1313, allocations: 17.25 kB / 479 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.1313, allocations: 19.42 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1313, allocations: 0 / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of Templates: time 0.006329/0.1377, allocations: 1.716 MB / 480.7 MB, free: 3.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches