Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.3 kB / 16.64 MB, free: 6.812 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.001093/0.001093, allocations: 186 kB / 17.56 MB, free: 5.926 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.472/1.472, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.1921/0.1921, allocations: 43.52 MB / 314.3 MB, free: 0.707 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.002071/0.002071, allocations: 71.2 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09871, allocations: 57.79 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002527/0.1013, allocations: 1.754 MB / 442.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1022, allocations: 0.7889 MB / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.1023, allocations: 0 / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1025, allocations: 55.81 kB / 443.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1027, allocations: 51.83 kB / 443.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1029, allocations: 79.34 kB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1031, allocations: 99.69 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.1032, allocations: 16.5 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.1033, allocations: 43.78 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1033, allocations: 27.86 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1033, allocations: 4 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.1034, allocations: 47.91 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.1035, allocations: 27.92 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1035, allocations: 39.67 kB / 443.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1037, allocations: 103.8 kB / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1037, allocations: 4 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1037, allocations: 0 / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1037, allocations: 0 / 443.8 MB, free: 4.191 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.0004036/0.1041, allocations: 434.7 kB / 444.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1041, allocations: 15.89 kB / 444.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1042, allocations: 8.844 kB / 444.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.1044, allocations: 231.4 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1044, allocations: 384 / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1044, allocations: 12.03 kB / 444.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1045, allocations: 57.67 kB / 444.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1046, allocations: 3.984 kB / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1046, allocations: 0 / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1046, allocations: 0 / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.1046, allocations: 19.98 kB / 444.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.1049, allocations: 292.8 kB / 444.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1051, allocations: 66.66 kB / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.1051, allocations: 16.86 kB / 444.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1052, allocations: 7.984 kB / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1053, allocations: 63.39 kB / 445 MB, free: 2.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1053, allocations: 3.938 kB / 445 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004549/0.1058, allocations: 185 kB / 445.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1058, allocations: 55.39 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.106, allocations: 251.8 kB / 445.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.106, allocations: 37.64 kB / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.106, allocations: 112 kB / 445.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1061, allocations: 27.67 kB / 445.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.1061, allocations: 21.72 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.1062, allocations: 334.8 kB / 446 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.1062, allocations: 20 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.1063, allocations: 34.08 kB / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.1064, allocations: 61.7 kB / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1064, allocations: 0 / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.1065, allocations: 113.4 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1065, allocations: 7.984 kB / 446.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1066, allocations: 4.031 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1066, allocations: 0 / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.1067, allocations: 19.94 kB / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1067, allocations: 0 / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1067, allocations: 7.922 kB / 446.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1067, allocations: 4 kB / 446.3 MB, free: 1.469 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.711e-05/0.1068, allocations: 137.8 kB / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.1068, allocations: 15.81 kB / 446.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.1069, allocations: 17.41 kB / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1069, allocations: 4 kB / 446.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1069, allocations: 0 / 446.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1069, allocations: 7.922 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1072, allocations: 399.2 kB / 446.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1072, allocations: 0 / 446.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.1073, allocations: 11.98 kB / 446.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1073, allocations: 0 / 446.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1073, allocations: 7.938 kB / 446.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1073, allocations: 4.031 kB / 446.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1073, allocations: 0 / 446.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1075, allocations: 208.2 kB / 447.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.1075, allocations: 88.92 kB / 447.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1075, allocations: 7.875 kB / 447.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1076, allocations: 7.984 kB / 447.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1076, allocations: 8 kB / 447.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1077, allocations: 4 kB / 447.2 MB, free: 464 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1078, allocations: 203.3 kB / 447.4 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1078, allocations: 0 / 447.4 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.108, allocations: 24.19 kB / 447.4 MB, free: 236 kB / 318.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.0009849/0.109, allocations: 468.5 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1092, allocations: 63.91 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1092, allocations: 0 / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.1093, allocations: 31.92 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1096, allocations: 23.98 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.1102, allocations: 345.6 kB / 448.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1105, allocations: 0.7236 MB / 449 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1106, allocations: 19.38 kB / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1106, allocations: 0 / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.00361/0.1142, allocations: 2.058 MB / 451.1 MB, free: 12.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches