Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 97.59 kB / 16.93 MB, free: 5.805 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.001172/0.001172, allocations: 187.6 kB / 17.86 MB, free: 5.18 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.438/1.438, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001663/0.001663, allocations: 75.39 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1108, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003001/0.1138, allocations: 1.694 MB / 442.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1149, allocations: 0.7961 MB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.115, allocations: 0 / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1153, allocations: 39.77 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1156, allocations: 55.77 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1158, allocations: 83.7 kB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1159, allocations: 99.69 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1161, allocations: 4.516 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.1162, allocations: 39.8 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.1162, allocations: 35.83 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1163, allocations: 4 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.1164, allocations: 43.98 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.1164, allocations: 19.94 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1165, allocations: 39.72 kB / 444.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1167, allocations: 111.6 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1167, allocations: 0 / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1167, allocations: 0 / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1167, allocations: 0 / 444.3 MB, free: 3.836 MB / 318.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.0005049/0.1172, allocations: 410.9 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1172, allocations: 19.88 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.1173, allocations: 8.844 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1175, allocations: 201 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1175, allocations: 4.375 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1175, allocations: 12.11 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1177, allocations: 57.61 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1177, allocations: 0 / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1177, allocations: 4 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1177, allocations: 0 / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.1178, allocations: 23.98 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.1181, allocations: 288.8 kB / 445.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1183, allocations: 54.62 kB / 445.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1183, allocations: 24.84 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1184, allocations: 3.938 kB / 445.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1185, allocations: 71.33 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1186, allocations: 0 / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.1191, allocations: 181.1 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1191, allocations: 51.41 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1193, allocations: 190.1 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1193, allocations: 29.7 kB / 445.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.1193, allocations: 96.14 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1194, allocations: 23.7 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1194, allocations: 29.72 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.1195, allocations: 322.8 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1195, allocations: 19.98 kB / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1196, allocations: 41.64 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.1197, allocations: 57.7 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1197, allocations: 4 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.1198, allocations: 101.5 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1199, allocations: 8 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1199, allocations: 0 / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1199, allocations: 0 / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.12, allocations: 15.98 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.12, allocations: 4 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.1201, allocations: 3.938 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1201, allocations: 4 kB / 446.6 MB, free: 1.281 MB / 318.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 8.812e-05/0.1202, allocations: 137.7 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1202, allocations: 19.8 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1202, allocations: 12.72 kB / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1202, allocations: 0 / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1203, allocations: 3.984 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1203, allocations: 3.938 kB / 446.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.1206, allocations: 391.3 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1206, allocations: 4.406 kB / 447.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.1206, allocations: 8 kB / 447.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1206, allocations: 0 / 447.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1207, allocations: 11.94 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1207, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1207, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1209, allocations: 204.5 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.1209, allocations: 96.89 kB / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1209, allocations: 7.875 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.121, allocations: 4 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.121, allocations: 7.984 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.121, allocations: 4 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1211, allocations: 143.2 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1211, allocations: 0 / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1214, allocations: 27.91 kB / 447.6 MB, free: 104 kB / 318.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.001092/0.1225, allocations: 466.8 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1227, allocations: 59.91 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1227, allocations: 0 / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.1228, allocations: 39.98 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1231, allocations: 19.98 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1236, allocations: 257.1 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1238, allocations: 0.704 MB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1239, allocations: 15.44 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1239, allocations: 0 / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.00393/0.1278, allocations: 1.894 MB / 451.1 MB, free: 12.7 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches