Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 96.28 kB / 15.69 MB, free: 480 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.00194/0.00194, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.436/1.436, allocations: 205.4 MB / 222.7 MB, free: 5.691 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.3429/0.3429, allocations: 43.54 MB / 314.5 MB, free: 8.797 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.0005618/0.0005619, allocations: 16 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002006/0.1168, allocations: 1.384 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.118, allocations: 0.7345 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.1181, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1184, allocations: 27.84 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1186, allocations: 47.88 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1189, allocations: 75.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1191, allocations: 63.84 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1192, allocations: 12.22 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.1193, allocations: 39.83 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.1194, allocations: 31.86 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1194, allocations: 4 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.1195, allocations: 27.94 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1195, allocations: 31.83 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.1196, allocations: 41.64 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1197, allocations: 100.1 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.1197, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1198, allocations: 3.938 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1198, allocations: 0 / 445.4 MB, free: 10.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004936/0.1203, allocations: 430.6 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1203, allocations: 8.031 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1204, allocations: 11.81 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1206, allocations: 210.9 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1206, allocations: 0 / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1206, allocations: 4 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1208, allocations: 57.61 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1208, allocations: 3.906 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1208, allocations: 0 / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1208, allocations: 3.953 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.1209, allocations: 23.98 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1213, allocations: 292.9 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1214, allocations: 54.62 kB / 446.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1215, allocations: 4 kB / 446.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1216, allocations: 79.45 kB / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.497e-06/0.1216, allocations: 3.984 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004902/0.1221, allocations: 173.1 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1222, allocations: 55.41 kB / 446.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1224, allocations: 258.5 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1225, allocations: 33.7 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.1225, allocations: 116 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1226, allocations: 23.75 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1226, allocations: 0 / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1227, allocations: 326.8 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.1228, allocations: 19.98 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1228, allocations: 37.64 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.1229, allocations: 27.98 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1229, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1231, allocations: 109.5 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1231, allocations: 15.83 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1231, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1232, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.1232, allocations: 19.98 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1233, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.1233, allocations: 8.188 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1233, allocations: 0 / 447.7 MB, free: 7.84 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 (10): * Single equations (assignments): 10 * 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.0001051/0.1234, allocations: 145.8 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1235, allocations: 15.81 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.1235, allocations: 25.34 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1235, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1235, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1235, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.124, allocations: 411.2 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.124, allocations: 0 / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.124, allocations: 15.97 kB / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.124, allocations: 0 / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1241, allocations: 4 kB / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1241, allocations: 0 / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1241, allocations: 0 / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1243, allocations: 210 kB / 448.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1244, allocations: 100.9 kB / 448.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1244, allocations: 4 kB / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1245, allocations: 4 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1245, allocations: 3.984 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1245, allocations: 4.375 kB / 448.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1247, allocations: 211.9 kB / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1247, allocations: 0 / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.125, allocations: 20 kB / 448.9 MB, free: 6.578 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 (8): * Single equations (assignments): 6 * 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.0009317/0.1259, allocations: 468.1 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1261, allocations: 59.91 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1261, allocations: 0 / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.1262, allocations: 36.03 kB / 449.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1264, allocations: 32.19 kB / 449.5 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.1269, allocations: 303 kB / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1272, allocations: 0.7238 MB / 450.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1273, allocations: 8.891 kB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1273, allocations: 19.42 kB / 450.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1273, allocations: 4 kB / 450.5 MB, free: 4.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004124/0.1314, allocations: 1.607 MB / 452.1 MB, free: 3.316 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches