Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 112.7 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.001094/0.001094, allocations: 195 kB / 17.97 MB, free: 5.16 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.508/1.508, 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.2124/0.2124, allocations: 43.52 MB / 314.7 MB, free: 496 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.00145/0.00145, allocations: 69.92 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003718/0.1111, allocations: 1.689 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1124, allocations: 0.8039 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.1125, allocations: 0 / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1129, allocations: 103.7 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1131, allocations: 87.69 kB / 444.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1134, allocations: 79.72 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1136, allocations: 119.7 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1138, allocations: 12.23 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1139, allocations: 51.75 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.114, allocations: 63.81 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.114, allocations: 4 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1141, allocations: 39.98 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.1142, allocations: 27.86 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1143, allocations: 35.69 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1145, allocations: 143.5 kB / 445.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1145, allocations: 0 / 445.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1145, allocations: 0 / 445.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1145, allocations: 0 / 445.2 MB, free: 2.883 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.0005169/0.1151, allocations: 422.8 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1151, allocations: 15.89 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1152, allocations: 16.75 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1155, allocations: 216.7 kB / 445.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1155, allocations: 4.375 kB / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1155, allocations: 16.06 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1157, allocations: 53.67 kB / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1157, allocations: 0 / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1157, allocations: 4 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1158, allocations: 0 / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.1159, allocations: 19.98 kB / 446 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1162, allocations: 296.8 kB / 446.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1164, allocations: 62.62 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.1165, allocations: 20.84 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1166, allocations: 0 / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.1167, allocations: 67.39 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.1167, allocations: 0 / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000601/0.1174, allocations: 185 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1174, allocations: 55.41 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1176, allocations: 230.4 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1177, allocations: 29.7 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.1177, allocations: 108.1 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1178, allocations: 23.7 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.1178, allocations: 25.72 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.1179, allocations: 330.8 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.118, allocations: 27.92 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.1181, allocations: 33.7 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1182, allocations: 53.7 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1182, allocations: 4 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002278/0.1185, allocations: 105.4 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1185, allocations: 12.03 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1185, allocations: 160 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1185, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1186, allocations: 15.98 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1187, allocations: 7.984 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.1188, allocations: 4.312 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1188, allocations: 8 kB / 447.6 MB, free: 224 kB / 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.791e-05/0.1189, allocations: 145.1 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1189, allocations: 15.81 kB / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.119, allocations: 29.39 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.119, allocations: 4 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.119, allocations: 0 / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.119, allocations: 3.938 kB / 447.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.1196, allocations: 399.3 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1197, allocations: 0 / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.1197, allocations: 8 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1197, allocations: 0 / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1197, allocations: 8.156 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1198, allocations: 4 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1198, allocations: 3.938 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1201, allocations: 204.1 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.1202, allocations: 92.91 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1202, allocations: 3.938 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1204, allocations: 8 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1204, allocations: 11.98 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1204, allocations: 4 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.1207, allocations: 184.3 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1207, allocations: 0 / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1211, allocations: 20 kB / 448.8 MB, free: 14.99 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.001632/0.1228, allocations: 467.6 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1231, allocations: 63.91 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1231, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1232, allocations: 27.92 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1237, allocations: 23.98 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.1244, allocations: 275.8 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1247, allocations: 0.7197 MB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.1248, allocations: 12.88 kB / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1249, allocations: 19.42 kB / 450.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1249, allocations: 4 kB / 450.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of Templates: time 0.005936/0.1308, allocations: 1.712 MB / 452.1 MB, free: 11.73 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches