Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 107.5 kB / 17.04 MB, free: 5.809 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.001359/0.001359, allocations: 196 kB / 17.97 MB, free: 5.027 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.471/1.471, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2231/0.2231, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 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.001317/0.001317, allocations: 69.92 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002325/0.1119, allocations: 1.684 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1128, allocations: 0.8 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.1129, allocations: 0 / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1131, allocations: 47.77 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1132, allocations: 51.75 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1134, allocations: 91.64 kB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.1135, allocations: 87.75 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.1136, allocations: 12.23 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.1137, allocations: 47.77 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.1137, allocations: 27.8 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1137, allocations: 8 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.1138, allocations: 43.98 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.1138, allocations: 15.92 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.1139, allocations: 31.8 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.114, allocations: 107.6 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.114, allocations: 0 / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.114, allocations: 0 / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.114, allocations: 0 / 445 MB, free: 3.078 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.0003106/0.1143, allocations: 406.9 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.317e-05/0.1144, allocations: 19.89 kB / 445.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1144, allocations: 8.844 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1146, allocations: 200.7 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1146, allocations: 7.938 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1146, allocations: 4 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1147, allocations: 49.67 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1147, allocations: 4 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1147, allocations: 4 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-06/0.1148, allocations: 0 / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.1148, allocations: 27.92 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.115, allocations: 276.9 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1152, allocations: 58.67 kB / 446.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.1152, allocations: 16.86 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1152, allocations: 4 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.1154, allocations: 75.31 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1154, allocations: 0 / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003912/0.1158, allocations: 169.2 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.1158, allocations: 55.34 kB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.1159, allocations: 159 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1159, allocations: 25.7 kB / 446.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.116, allocations: 108.1 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.116, allocations: 27.64 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.116, allocations: 21.72 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.1161, allocations: 322.8 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.1161, allocations: 16 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.1162, allocations: 37.7 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.1163, allocations: 70 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1163, allocations: 0 / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001422/0.1164, allocations: 97.64 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1164, allocations: 9.25 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.1165, allocations: 7.938 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1165, allocations: 7.922 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.1165, allocations: 19.94 kB / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.1166, allocations: 4 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.1166, allocations: 3.984 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1166, allocations: 8.031 kB / 447.3 MB, free: 0.5547 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 5.251e-05/0.1167, allocations: 121.8 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1167, allocations: 11.81 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.1167, allocations: 20.64 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1167, allocations: 0 / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1167, allocations: 0 / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1167, allocations: 0 / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.1171, allocations: 395.3 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1171, allocations: 4 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1171, allocations: 7.938 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1171, allocations: 4 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1172, allocations: 0 / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1172, allocations: 3.984 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1172, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1174, allocations: 200.3 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1174, allocations: 85.02 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1175, allocations: 4 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.1175, allocations: 4 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1176, allocations: 7.984 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1176, allocations: 4 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.1177, allocations: 123.9 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1177, allocations: 4.125 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1179, allocations: 24 kB / 448.3 MB, free: 15.43 MB / 334.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.0009564/0.1189, allocations: 476.4 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1191, allocations: 59.86 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1191, allocations: 4.062 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.1192, allocations: 27.98 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1195, allocations: 32.22 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1198, allocations: 215 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1201, allocations: 0.6963 MB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.1202, allocations: 20.86 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1202, allocations: 19.44 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1202, allocations: 0 / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.003785/0.124, allocations: 1.676 MB / 451.5 MB, free: 12.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches