Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 172.6 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.7 MB, free: 5.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3783/0.3783, allocations: 43.58 MB / 314.6 MB, free: 8.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.000505, allocations: 15.98 kB / 384 MB, free: 7.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 58.85 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001875/0.1131, allocations: 1.394 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1149, allocations: 1.321 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.115, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1153, allocations: 31.83 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1155, allocations: 43.84 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1158, allocations: 83.77 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.116, allocations: 79.7 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.1161, allocations: 16.22 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1163, allocations: 39.83 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1164, allocations: 31.8 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1164, allocations: 0 / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1166, allocations: 51.97 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1166, allocations: 11.92 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.1167, allocations: 33.7 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1169, allocations: 92.08 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1169, allocations: 4 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1169, allocations: 0 / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1169, allocations: 3.938 kB / 446 MB, free: 9.75 MB / 382.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.0005183/0.1174, allocations: 398.9 kB / 446.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1175, allocations: 8.031 kB / 446.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1175, allocations: 11.91 kB / 446.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1178, allocations: 198.9 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1178, allocations: 0 / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1178, allocations: 8 kB / 446.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.118, allocations: 67.38 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1181, allocations: 11.89 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1181, allocations: 4 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1181, allocations: 0 / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.1182, allocations: 15.98 kB / 446.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1186, allocations: 276.9 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1188, allocations: 58.69 kB / 447.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1188, allocations: 28.73 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1189, allocations: 3.984 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1191, allocations: 67.39 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1191, allocations: 4 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005134/0.1196, allocations: 173.1 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1197, allocations: 81.11 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1198, allocations: 153 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1198, allocations: 29.7 kB / 447.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.1199, allocations: 96.14 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.12, allocations: 27.64 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.12, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1201, allocations: 326.8 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.1202, allocations: 24 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.1202, allocations: 42.56 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.123e-05/0.1203, allocations: 31.91 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1203, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1205, allocations: 89.59 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1205, allocations: 8.062 kB / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1205, allocations: 160 / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1205, allocations: 4 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1206, allocations: 23.92 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1207, allocations: 3.984 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1207, allocations: 4.188 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1207, allocations: 4 kB / 448.3 MB, free: 7.273 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.1208, allocations: 129.7 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1209, allocations: 15.91 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.1209, allocations: 13.09 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1209, allocations: 4 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1209, allocations: 0 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1209, allocations: 0 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1213, allocations: 395.3 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1213, allocations: 0 / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1214, allocations: 8 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1214, allocations: 4.031 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1214, allocations: 7.938 kB / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1214, allocations: 4 kB / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1214, allocations: 0 / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1216, allocations: 200.2 kB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1217, allocations: 89 kB / 449.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1217, allocations: 4 kB / 449.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1218, allocations: 4 kB / 449.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1218, allocations: 11.98 kB / 449.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1219, allocations: 7.938 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.122, allocations: 115.2 kB / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.122, allocations: 0 / 449.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1223, allocations: 39.94 kB / 449.3 MB, free: 6.141 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.1236, allocations: 0.4983 MB / 449.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1238, allocations: 59.95 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1238, allocations: 4.062 kB / 449.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1239, allocations: 27.94 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1242, allocations: 27.97 kB / 449.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.1246, allocations: 206.1 kB / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1249, allocations: 0.6965 MB / 450.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.125, allocations: 16.88 kB / 450.8 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1251, allocations: 23.38 kB / 450.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1251, allocations: 0 / 450.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.004696/0.1298, allocations: 1.831 MB / 452.7 MB, free: 2.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches