Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 112.6 kB / 17.04 MB, free: 6.078 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.00177/0.00177, allocations: 195 kB / 17.98 MB, free: 5.156 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.548/1.548, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2149/0.2149, 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.001485/0.001485, allocations: 67.22 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003188/0.1155, allocations: 1.681 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1168, allocations: 0.8039 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.1169, allocations: 0 / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1172, allocations: 39.77 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1174, allocations: 55.77 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1177, allocations: 87.75 kB / 444.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1178, allocations: 91.7 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1179, allocations: 12.22 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.118, allocations: 39.78 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.1181, allocations: 31.8 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1181, allocations: 8 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.1182, allocations: 47.97 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1183, allocations: 19.92 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1184, allocations: 35.73 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1186, allocations: 107.6 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1186, allocations: 0 / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1186, allocations: 0 / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1186, allocations: 0 / 445 MB, free: 3.07 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.0006337/0.1193, allocations: 414.9 kB / 445.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1193, allocations: 19.89 kB / 445.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1194, allocations: 8.844 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1196, allocations: 209 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1197, allocations: 4.375 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1197, allocations: 8.125 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1199, allocations: 57.67 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1199, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1199, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1199, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.12, allocations: 23.92 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.1203, allocations: 292.7 kB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1205, allocations: 58.67 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.1206, allocations: 24.78 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1206, allocations: 0 / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.1207, allocations: 75.33 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1207, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004944/0.1212, allocations: 173.1 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1213, allocations: 51.41 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1214, allocations: 190.1 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1214, allocations: 29.69 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1215, allocations: 100.1 kB / 446.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1215, allocations: 27.69 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1215, allocations: 25.72 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.1216, allocations: 326.8 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.1217, allocations: 19.98 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.1217, allocations: 37.7 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.1218, allocations: 57.66 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1218, allocations: 0 / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.122, allocations: 105.6 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.122, allocations: 4 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.122, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.122, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.1221, allocations: 23.92 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1221, allocations: 0 / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1222, allocations: 3.938 kB / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1222, allocations: 4 kB / 447.4 MB, free: 0.5078 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 7.607e-05/0.1223, allocations: 137.5 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.1223, allocations: 15.81 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1224, allocations: 16.7 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1224, allocations: 0 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1224, allocations: 384 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1224, allocations: 3.938 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.1228, allocations: 399.2 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1228, allocations: 8.031 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1228, allocations: 11.94 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1229, allocations: 3.938 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1229, allocations: 7.938 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1229, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1229, allocations: 192 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1231, allocations: 200.3 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.1232, allocations: 92.94 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.1232, allocations: 3.938 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1233, allocations: 8 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1233, allocations: 7.984 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1234, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1235, allocations: 139.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1235, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1237, allocations: 27.89 kB / 448.4 MB, free: 15.34 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.001095/0.1248, allocations: 475.3 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1251, allocations: 55.95 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1251, allocations: 4 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.1251, allocations: 32 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1255, allocations: 24.28 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.1261, allocations: 215.3 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1265, allocations: 0.7079 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.1266, allocations: 20.92 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.1266, allocations: 15.44 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1266, allocations: 0 / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Templates: time 0.004719/0.1313, allocations: 1.693 MB / 451.6 MB, free: 12.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches