Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 97.06 kB / 15.69 MB, free: 480 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.001486/0.001486, allocations: 176.8 kB / 16.57 MB, free: 6.391 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.395/1.395, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3445/0.3445, allocations: 43.55 MB / 314.5 MB, free: 8.746 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.0004993/0.0004994, allocations: 12 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001992/0.1075, allocations: 1.38 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1086, allocations: 0.7344 MB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.1087, allocations: 4 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1091, allocations: 103.7 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1093, allocations: 71.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1096, allocations: 75.72 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1097, allocations: 71.84 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1099, allocations: 20.2 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.11, allocations: 51.81 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1101, allocations: 43.84 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1101, allocations: 4 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.1102, allocations: 31.92 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1102, allocations: 27.84 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.1103, allocations: 41.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1105, allocations: 104.1 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1105, allocations: 4 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1105, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1105, allocations: 0 / 445.5 MB, free: 10.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005302/0.111, allocations: 426.6 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1111, allocations: 8.031 kB / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1111, allocations: 15.81 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1114, allocations: 218.6 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1114, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1114, allocations: 15.92 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1116, allocations: 61.61 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1116, allocations: 0 / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1116, allocations: 4 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1117, allocations: 3.953 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1117, allocations: 27.98 kB / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.1121, allocations: 300.8 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1123, allocations: 74.61 kB / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1124, allocations: 4 kB / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1126, allocations: 75.53 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 4.549e-06/0.1126, allocations: 3.984 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005683/0.1132, allocations: 201 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1132, allocations: 51.41 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1134, allocations: 254.5 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1135, allocations: 29.7 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1135, allocations: 112.1 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1136, allocations: 31.55 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1136, allocations: 0 / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1137, allocations: 326.8 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1138, allocations: 27.92 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.1139, allocations: 41.7 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.114, allocations: 28 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.114, allocations: 0 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001932/0.1142, allocations: 117.4 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1142, allocations: 8 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1142, allocations: 0 / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1142, allocations: 192 / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1143, allocations: 31.92 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1144, allocations: 3.938 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1144, allocations: 8.031 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1144, allocations: 0 / 448 MB, free: 7.586 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 (11): * Single equations (assignments): 11 * 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 0.0001255/0.1145, allocations: 133.8 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1146, allocations: 19.77 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.1147, allocations: 25.39 kB / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1147, allocations: 0 / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1147, allocations: 0 / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1147, allocations: 0 / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.1152, allocations: 423.2 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1152, allocations: 0 / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.1152, allocations: 12 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1152, allocations: 0 / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1152, allocations: 4 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1152, allocations: 7.938 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1152, allocations: 3.984 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1155, allocations: 229.8 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1156, allocations: 92.92 kB / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1156, allocations: 7.984 kB / 448.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1157, allocations: 0 / 448.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1157, allocations: 11.98 kB / 448.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1157, allocations: 7.938 kB / 448.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1159, allocations: 188.5 kB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1159, allocations: 0 / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1161, allocations: 20 kB / 449.1 MB, free: 6.312 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 (9): * Single equations (assignments): 7 * 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.0009971/0.1171, allocations: 473.6 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1173, allocations: 67.92 kB / 449.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1173, allocations: 0 / 449.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.1174, allocations: 39.91 kB / 449.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1177, allocations: 28.11 kB / 449.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.1182, allocations: 299 kB / 450 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1185, allocations: 0.7278 MB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.1186, allocations: 20.64 kB / 450.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1186, allocations: 19.42 kB / 450.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1186, allocations: 0 / 450.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.004269/0.1229, allocations: 1.681 MB / 452.5 MB, free: 2.957 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches