Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.001719, allocations: 106.5 kB / 17.04 MB, free: 6.051 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.002048/0.002048, allocations: 192 kB / 17.97 MB, free: 5.137 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.475/1.475, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2112/0.2112, allocations: 43.52 MB / 314.7 MB, free: 488 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.001734/0.001734, allocations: 73.28 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1024, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002588/0.105, allocations: 1.693 MB / 443.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.106, allocations: 0.8 MB / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.1061, allocations: 0 / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1064, allocations: 35.78 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1066, allocations: 55.75 kB / 444.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1069, allocations: 91.64 kB / 444.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.107, allocations: 95.69 kB / 444.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.1071, allocations: 16.22 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.1072, allocations: 39.8 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1073, allocations: 27.84 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1073, allocations: 4 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.1074, allocations: 43.98 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.1075, allocations: 15.92 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1075, allocations: 35.73 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1077, allocations: 111.6 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1077, allocations: 3.938 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1077, allocations: 0 / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1077, allocations: 0 / 445 MB, free: 3.09 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.0004799/0.1082, allocations: 407 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1083, allocations: 15.89 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.1083, allocations: 16.75 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1086, allocations: 206.1 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1086, allocations: 12.31 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1087, allocations: 8.125 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1088, allocations: 53.67 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1089, allocations: 3.938 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1089, allocations: 4 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1089, allocations: 0 / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.109, allocations: 15.98 kB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1093, allocations: 284.9 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1095, allocations: 58.61 kB / 446.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1096, allocations: 24.86 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1096, allocations: 3.984 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.1098, allocations: 63.39 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1098, allocations: 3.984 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004865/0.1103, allocations: 173.2 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1103, allocations: 63.33 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1104, allocations: 170.1 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1104, allocations: 25.7 kB / 446.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1105, allocations: 96.14 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1105, allocations: 27.64 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1105, allocations: 21.72 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.1106, allocations: 334.8 kB / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.1107, allocations: 19.98 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.1107, allocations: 37.64 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.1108, allocations: 57.7 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1108, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.111, allocations: 97.53 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.111, allocations: 8.031 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.111, allocations: 160 / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.111, allocations: 4 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.1111, allocations: 19.98 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1111, allocations: 3.984 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.1112, allocations: 8.312 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1112, allocations: 0 / 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 6.492e-05/0.1113, allocations: 125.8 kB / 447.5 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1113, allocations: 23.75 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.1114, allocations: 16.72 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1114, allocations: 4.188 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1114, allocations: 0 / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1114, allocations: 11.86 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.1117, allocations: 383.3 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1118, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1118, allocations: 8 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1118, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1118, allocations: 11.97 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1118, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1118, allocations: 4 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1121, allocations: 196.3 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1121, allocations: 88.94 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1121, allocations: 11.94 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1122, allocations: 3.938 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1123, allocations: 11.98 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1123, allocations: 4 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.848e-05/0.1124, allocations: 131.2 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1124, allocations: 0 / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1127, allocations: 23.98 kB / 448.4 MB, free: 15.4 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.0009814/0.1136, allocations: 462.3 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1138, allocations: 55.92 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1138, allocations: 0 / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.1139, allocations: 31.98 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1143, allocations: 27.91 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1147, allocations: 223.2 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.115, allocations: 0.704 MB / 449.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.115, allocations: 12.88 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.1151, allocations: 23.42 kB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1151, allocations: 4 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.004676/0.1198, allocations: 1.684 MB / 451.6 MB, free: 12.22 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches