Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009976/0.001001, allocations: 102.6 kB / 16.63 MB, free: 6.809 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.001006/0.001006, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.351/1.351, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2083/0.2083, allocations: 43.52 MB / 314.3 MB, free: 0.7148 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.001754/0.001754, allocations: 64.55 kB / 382.9 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1133, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003461/0.1168, allocations: 1.708 MB / 442.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1181, allocations: 0.7811 MB / 443.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1182, allocations: 0 / 443.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1186, allocations: 55.81 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1189, allocations: 47.83 kB / 443.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1192, allocations: 75.28 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1194, allocations: 99.69 kB / 443.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.1195, allocations: 4 kB / 443.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.1196, allocations: 31.86 kB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.1197, allocations: 39.78 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1197, allocations: 8 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1198, allocations: 31.98 kB / 443.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.1199, allocations: 27.86 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.12, allocations: 43.66 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1202, allocations: 88.12 kB / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1202, allocations: 0 / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1202, allocations: 0 / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1202, allocations: 0 / 443.7 MB, free: 4.316 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005458/0.1208, allocations: 426.7 kB / 444.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1208, allocations: 19.89 kB / 444.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1209, allocations: 12.83 kB / 444.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1211, allocations: 215.5 kB / 444.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1211, allocations: 4.375 kB / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1211, allocations: 8.062 kB / 444.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1213, allocations: 53.67 kB / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1213, allocations: 0 / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1213, allocations: 0 / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1214, allocations: 3.938 kB / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.1214, allocations: 19.98 kB / 444.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.1216, allocations: 185.7 kB / 444.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1218, allocations: 54.56 kB / 444.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1219, allocations: 28.78 kB / 444.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1219, allocations: 3.984 kB / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.1221, allocations: 67.3 kB / 444.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1221, allocations: 0 / 444.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002773/0.1224, allocations: 97.77 kB / 444.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1224, allocations: 55.34 kB / 444.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1226, allocations: 259.7 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1227, allocations: 29.7 kB / 445.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.1227, allocations: 112.1 kB / 445.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1227, allocations: 23.72 kB / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1228, allocations: 21.72 kB / 445.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.1228, allocations: 326.8 kB / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.1229, allocations: 15.98 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.1229, allocations: 21.72 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.123, allocations: 45.7 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.123, allocations: 4 kB / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.1232, allocations: 89.38 kB / 445.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1232, allocations: 4 kB / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1232, allocations: 0 / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1232, allocations: 3.984 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.1233, allocations: 12 kB / 445.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1233, allocations: 3.938 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1234, allocations: 8 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1234, allocations: 0 / 445.9 MB, free: 1.883 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 (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 8.061e-05/0.1235, allocations: 141.7 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1235, allocations: 11.81 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1236, allocations: 20.98 kB / 446.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1236, allocations: 0 / 446.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1236, allocations: 0 / 446.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1236, allocations: 4 kB / 446.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1237, allocations: 197.6 kB / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1237, allocations: 0 / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1237, allocations: 7.938 kB / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1237, allocations: 0 / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1238, allocations: 4 kB / 446.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1238, allocations: 3.984 kB / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1238, allocations: 0 / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1239, allocations: 120.9 kB / 446.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.1239, allocations: 89 kB / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.124, allocations: 0 / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.124, allocations: 0 / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1241, allocations: 8 kB / 446.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1241, allocations: 7.984 kB / 446.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1242, allocations: 195.3 kB / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1244, allocations: 24 kB / 446.7 MB, free: 0.9688 MB / 318.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.0008946/0.1253, allocations: 404.2 kB / 447.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1255, allocations: 47.91 kB / 447.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1255, allocations: 4.062 kB / 447.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.1256, allocations: 19.98 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1258, allocations: 39.78 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1263, allocations: 308.4 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1266, allocations: 0.7119 MB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1267, allocations: 15.42 kB / 448.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1267, allocations: 7.938 kB / 448.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Templates: time 0.004172/0.1309, allocations: 1.831 MB / 450.1 MB, free: 13.61 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches