Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 110.4 kB / 17.98 MB, free: 4.887 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.001244/0.001244, allocations: 189.3 kB / 18.9 MB, free: 4.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.16 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.05 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003222/0.1082, allocations: 1.714 MB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1095, allocations: 0.8381 MB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.1096, allocations: 0 / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.11, allocations: 55.86 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1103, allocations: 63.75 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1106, allocations: 99.75 kB / 472.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1108, allocations: 91.7 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.1108, allocations: 11.97 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1109, allocations: 47.78 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.111, allocations: 43.78 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1111, allocations: 4 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1112, allocations: 35.97 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.1112, allocations: 23.92 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1113, allocations: 23.81 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1114, allocations: 72.12 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1115, allocations: 0 / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1115, allocations: 0 / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1115, allocations: 4 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005336/0.112, allocations: 407 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1121, allocations: 15.97 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1121, allocations: 8.844 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1124, allocations: 204.2 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1124, allocations: 4.375 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1124, allocations: 4.125 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1125, allocations: 45.67 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1126, allocations: 0 / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1126, allocations: 4 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1126, allocations: 0 / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.1127, allocations: 15.98 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.1129, allocations: 185.5 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.113, allocations: 54.56 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1131, allocations: 24.78 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1131, allocations: 4 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1133, allocations: 63.39 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1134, allocations: 4 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002891/0.1136, allocations: 93.52 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1137, allocations: 51.41 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1139, allocations: 194.1 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1139, allocations: 25.7 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.1139, allocations: 100.1 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.114, allocations: 15.81 kB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.114, allocations: 17.72 kB / 474 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1142, allocations: 326.8 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1142, allocations: 19.97 kB / 474.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.1143, allocations: 21.72 kB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.1144, allocations: 45.64 kB / 474.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1144, allocations: 4 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.1145, allocations: 89.69 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1146, allocations: 8 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1146, allocations: 8 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1146, allocations: 7.984 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.1147, allocations: 8 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1147, allocations: 160 / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.1147, allocations: 4 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1148, allocations: 0 / 474.5 MB, free: 9.309 MB / 350.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 (7): * Single equations (assignments): 7 * 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 9.15e-05/0.1148, allocations: 129.8 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1149, allocations: 11.91 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1149, allocations: 20.3 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1149, allocations: 7.969 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1149, allocations: 0 / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.115, allocations: 0 / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1151, allocations: 189.5 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1151, allocations: 0 / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1151, allocations: 4 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1151, allocations: 0 / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1152, allocations: 0 / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1152, allocations: 3.938 kB / 474.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1152, allocations: 4 kB / 474.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1154, allocations: 109 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1154, allocations: 92.94 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1154, allocations: 0 / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.1155, allocations: 4 kB / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1155, allocations: 0 / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1155, allocations: 4 kB / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1157, allocations: 147.2 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1157, allocations: 0 / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1159, allocations: 12 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009015/0.1168, allocations: 422.2 kB / 475.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.117, allocations: 47.91 kB / 475.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.117, allocations: 0 / 475.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.117, allocations: 16 kB / 475.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1173, allocations: 39.16 kB / 475.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.1177, allocations: 239.6 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.118, allocations: 0.708 MB / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1181, allocations: 19.44 kB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1181, allocations: 0 / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Templates: time 0.003355/0.1214, allocations: 1.675 MB / 478.4 MB, free: 5.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches