Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001036, allocations: 98.31 kB / 15.69 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.001112/0.001112, allocations: 174.2 kB / 16.56 MB, free: 6.375 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.36/1.36, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3204/0.3204, allocations: 43.55 MB / 314.5 MB, free: 8.699 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.0004714/0.0004715, allocations: 23.98 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002097/0.1047, allocations: 1.584 MB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1058, allocations: 0.7656 MB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.106, allocations: 4 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.1062, allocations: 35.77 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1064, allocations: 39.89 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1067, allocations: 95.69 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1069, allocations: 87.83 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.107, allocations: 33.41 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.1071, allocations: 51.7 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.1072, allocations: 31.8 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1072, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1073, allocations: 31.92 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1074, allocations: 19.91 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.1074, allocations: 45.64 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1076, allocations: 104 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1076, allocations: 0 / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1076, allocations: 0 / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1076, allocations: 8 kB / 445.7 MB, free: 10.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000515/0.1081, allocations: 460.3 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1082, allocations: 12.03 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.1082, allocations: 11.81 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1084, allocations: 223.5 kB / 446.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1085, allocations: 4 kB / 446.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1085, allocations: 8 kB / 446.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1087, allocations: 116.1 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1087, allocations: 0 / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1087, allocations: 4 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1088, allocations: 3.953 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1089, allocations: 59.91 kB / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.1094, allocations: 0.4931 MB / 447.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1097, allocations: 102.6 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1097, allocations: 4 kB / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1099, allocations: 79.38 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1099, allocations: 4 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000344/0.1103, allocations: 145.4 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1103, allocations: 51.78 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1105, allocations: 199.4 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1105, allocations: 25.7 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1106, allocations: 116 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1106, allocations: 35.7 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.1106, allocations: 4 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1107, allocations: 326.8 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.1108, allocations: 28.11 kB / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.1109, allocations: 76.27 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.111, allocations: 32 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.111, allocations: 0 / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002478/0.1113, allocations: 149.4 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1113, allocations: 7.938 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1113, allocations: 4 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1113, allocations: 0 / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1114, allocations: 23.98 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1114, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.1115, allocations: 15.92 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1115, allocations: 8 kB / 448.5 MB, free: 7.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.288e-05/0.1116, allocations: 133.8 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1116, allocations: 19.77 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.1117, allocations: 21.33 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1117, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1117, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1117, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1119, allocations: 205.6 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1119, allocations: 4 kB / 448.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.1119, allocations: 11.98 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.112, allocations: 3.953 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.112, allocations: 8 kB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.112, allocations: 0 / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.112, allocations: 0 / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1123, allocations: 184.9 kB / 449 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1124, allocations: 100.9 kB / 449.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1124, allocations: 11.95 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.1125, allocations: 7.984 kB / 449.2 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1125, allocations: 8 kB / 449.2 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1125, allocations: 4 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.1126, allocations: 141.1 kB / 449.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1127, allocations: 0 / 449.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1129, allocations: 27.98 kB / 449.3 MB, free: 6.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0007836/0.1137, allocations: 421.2 kB / 449.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1139, allocations: 75.91 kB / 449.8 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1139, allocations: 0 / 449.8 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.114, allocations: 43.91 kB / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1142, allocations: 32.36 kB / 449.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.1146, allocations: 297.6 kB / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1148, allocations: 0.7201 MB / 450.9 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.1149, allocations: 17.41 kB / 450.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.115, allocations: 15.44 kB / 450.9 MB, free: 4.473 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.115, allocations: 4 kB / 450.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of Templates: time 0.004023/0.119, allocations: 1.72 MB / 452.7 MB, free: 2.754 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches