Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 96.36 kB / 15.68 MB, free: 488 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.0009123/0.0009125, allocations: 174 kB / 16.56 MB, free: 6.379 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.371/1.371, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3207/0.3207, allocations: 43.55 MB / 314.5 MB, free: 8.766 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.0004811/0.0004815, allocations: 14.97 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001906/0.114, allocations: 1.391 MB / 444.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1151, allocations: 0.7267 MB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.1152, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1155, allocations: 35.83 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1156, allocations: 43.89 kB / 444.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1159, allocations: 75.77 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.116, allocations: 59.88 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.1161, allocations: 16.19 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.1162, allocations: 35.86 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.1162, allocations: 23.84 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1163, allocations: 0 / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.1163, allocations: 31.88 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.1164, allocations: 19.98 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1164, allocations: 37.64 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1166, allocations: 84.09 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1166, allocations: 0 / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1166, allocations: 0 / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1166, allocations: 0 / 445.3 MB, free: 10.45 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.0004825/0.1171, allocations: 398.9 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1171, allocations: 8.031 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.1172, allocations: 15.8 kB / 445.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1174, allocations: 218.7 kB / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1174, allocations: 0 / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1175, allocations: 4 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1176, allocations: 53.67 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1176, allocations: 0 / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1176, allocations: 0 / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1176, allocations: 3.953 kB / 446 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.1177, allocations: 23.98 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.1181, allocations: 284.9 kB / 446.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1182, allocations: 54.69 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1182, allocations: 0 / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1184, allocations: 79.39 kB / 446.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1184, allocations: 0 / 446.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000485/0.1189, allocations: 161.3 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.119, allocations: 59.34 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1191, allocations: 170.2 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1192, allocations: 29.7 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.1192, allocations: 96.14 kB / 446.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1192, allocations: 31.62 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1193, allocations: 0 / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1194, allocations: 322.8 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.1194, allocations: 27.98 kB / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1195, allocations: 33.7 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.1195, allocations: 20 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1196, allocations: 3.938 kB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001564/0.1197, allocations: 97.53 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1197, allocations: 11.95 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1198, allocations: 0 / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1198, allocations: 8.016 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.1199, allocations: 12 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1199, allocations: 4 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.1199, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1199, allocations: 4 kB / 447.5 MB, free: 8.035 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 9.766e-05/0.12, allocations: 133.8 kB / 447.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1201, allocations: 11.81 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.1201, allocations: 20.66 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1201, allocations: 8.188 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1201, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1201, allocations: 3.938 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1205, allocations: 387.3 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1205, allocations: 0 / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1206, allocations: 8 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1206, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1206, allocations: 8 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1206, allocations: 4.406 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1206, allocations: 0 / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1208, allocations: 217.9 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.1209, allocations: 88.92 kB / 448.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1209, allocations: 4 kB / 448.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.121, allocations: 11.98 kB / 448.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.121, allocations: 8 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1211, allocations: 4 kB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.216e-05/0.1212, allocations: 135.9 kB / 448.5 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1212, allocations: 0 / 448.5 MB, free: 6.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1214, allocations: 24 kB / 448.6 MB, free: 6.871 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.0009926/0.1224, allocations: 472.5 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1226, allocations: 63.89 kB / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1226, allocations: 0 / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.1227, allocations: 31.92 kB / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1229, allocations: 23.94 kB / 449.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.1233, allocations: 226.2 kB / 449.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1236, allocations: 0.7121 MB / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.1236, allocations: 8.891 kB / 450.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1237, allocations: 23.42 kB / 450.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1237, allocations: 3.938 kB / 450.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of Templates: time 0.003848/0.1275, allocations: 1.572 MB / 451.7 MB, free: 3.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches