Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008845/0.0008846, allocations: 178.8 kB / 16.57 MB, free: 6.844 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.326/1.326, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3146/0.3146, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.0004918/0.0004918, allocations: 20 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001673/0.1044, allocations: 1.391 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.1054, allocations: 0.75 MB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.1055, allocations: 0 / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1057, allocations: 87.8 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1059, allocations: 75.77 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1061, allocations: 71.84 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1063, allocations: 83.83 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.1064, allocations: 15.97 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.1065, allocations: 51.83 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.1066, allocations: 55.75 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1066, allocations: 3.938 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.1067, allocations: 27.94 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.1067, allocations: 31.89 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.1068, allocations: 45.64 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1069, allocations: 104.1 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1069, allocations: 4 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1069, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1069, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004265/0.1074, allocations: 426.6 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1074, allocations: 12.02 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1074, allocations: 15.81 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1077, allocations: 222.5 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1077, allocations: 4 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1077, allocations: 11.91 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1078, allocations: 57.67 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1079, allocations: 0 / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1079, allocations: 7.984 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1079, allocations: 3.953 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.108, allocations: 31.92 kB / 446.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.1083, allocations: 316.8 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1085, allocations: 74.77 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1085, allocations: 0 / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1087, allocations: 79.33 kB / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1087, allocations: 0 / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005278/0.1092, allocations: 233.3 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1093, allocations: 59.39 kB / 447.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1095, allocations: 238.6 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1095, allocations: 29.7 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.1096, allocations: 112.1 kB / 447.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1096, allocations: 35.55 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1096, allocations: 4 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1097, allocations: 330.8 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.1098, allocations: 31.98 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.1099, allocations: 45.7 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.11, allocations: 35.94 kB / 447.9 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.11, allocations: 3.938 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001965/0.1102, allocations: 141.4 kB / 448.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1102, allocations: 8 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1102, allocations: 4.031 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1102, allocations: 0 / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.1103, allocations: 27.92 kB / 448.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1103, allocations: 160 / 448.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.1104, allocations: 8 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1104, allocations: 3.984 kB / 448.1 MB, free: 7.457 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1105, allocations: 133.8 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1106, allocations: 23.75 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1106, allocations: 25.39 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1106, allocations: 4 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1106, allocations: 4 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1106, allocations: 0 / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.1111, allocations: 455.1 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1111, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.1111, allocations: 15.98 kB / 448.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1111, allocations: 0 / 448.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1112, allocations: 8.031 kB / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1112, allocations: 0 / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1112, allocations: 0 / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1114, allocations: 249.7 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1115, allocations: 88.92 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1115, allocations: 8 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1116, allocations: 7.984 kB / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.1116, allocations: 4 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1116, allocations: 7.984 kB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1117, allocations: 184.5 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1118, allocations: 0 / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.112, allocations: 28 kB / 449.3 MB, free: 6.125 MB / 382.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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008819/0.1129, allocations: 473.6 kB / 449.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1131, allocations: 75.97 kB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1131, allocations: 0 / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.1132, allocations: 43.92 kB / 449.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1134, allocations: 36.23 kB / 449.9 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.1138, allocations: 318.9 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1141, allocations: 0.7204 MB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1141, allocations: 25.06 kB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.1142, allocations: 19.38 kB / 451 MB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1142, allocations: 0 / 451 MB, free: 4.406 MB / 382.1 MB Notification: Performance of Templates: time 0.004275/0.1185, allocations: 1.775 MB / 452.8 MB, free: 2.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches