Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 97.06 kB / 15.69 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.0009317/0.0009318, allocations: 174.2 kB / 16.56 MB, free: 6.375 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.392/1.392, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3255/0.3255, allocations: 43.55 MB / 314.5 MB, free: 9.031 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.0004821/0.0004821, allocations: 20 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.00187/0.1153, allocations: 1.388 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1164, allocations: 0.7266 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1164, allocations: 8 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1167, allocations: 35.81 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1169, allocations: 35.91 kB / 444.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1171, allocations: 71.77 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1173, allocations: 59.86 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1175, allocations: 20.2 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.1175, allocations: 35.84 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.1176, allocations: 19.86 kB / 445.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1176, allocations: 8 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1177, allocations: 23.94 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.1178, allocations: 23.91 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1178, allocations: 41.58 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.118, allocations: 80.09 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.118, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.118, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.118, allocations: 0 / 445.3 MB, free: 10.69 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.0004881/0.1185, allocations: 398.9 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1186, allocations: 16.03 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1186, allocations: 11.81 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1188, allocations: 202.9 kB / 445.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1188, allocations: 4 kB / 445.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1189, allocations: 3.938 kB / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.119, allocations: 53.67 kB / 446 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.119, allocations: 0 / 446 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.119, allocations: 4 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1191, allocations: 3.953 kB / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.1191, allocations: 23.97 kB / 446 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1195, allocations: 277 kB / 446.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1196, allocations: 58.62 kB / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1197, allocations: 3.984 kB / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.1198, allocations: 79.47 kB / 446.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1198, allocations: 0 / 446.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005109/0.1204, allocations: 169.2 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1204, allocations: 55.39 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1206, allocations: 166.2 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1206, allocations: 29.7 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1207, allocations: 100.1 kB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1207, allocations: 27.66 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1207, allocations: 4 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1208, allocations: 318.8 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1209, allocations: 27.92 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.1209, allocations: 33.7 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.121, allocations: 20 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.121, allocations: 4 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1212, allocations: 97.53 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1212, allocations: 15.88 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1212, allocations: 0 / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1212, allocations: 192 / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.1213, allocations: 20 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1213, allocations: 3.938 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.1214, allocations: 4 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1214, allocations: 4.141 kB / 447.5 MB, free: 8.273 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 9.124e-05/0.1215, allocations: 125.9 kB / 447.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1215, allocations: 19.81 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.1216, allocations: 24.64 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1216, allocations: 0 / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1216, allocations: 0 / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1216, allocations: 3.938 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.122, allocations: 383.3 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.122, allocations: 4 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.1221, allocations: 11.97 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1221, allocations: 4 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1221, allocations: 4 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1221, allocations: 3.984 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1221, allocations: 4 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1223, allocations: 206 kB / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.1224, allocations: 96.92 kB / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1224, allocations: 4 kB / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.1225, allocations: 3.984 kB / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1225, allocations: 12.31 kB / 448.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1226, allocations: 4 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1227, allocations: 135.9 kB / 448.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1227, allocations: 0 / 448.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1229, allocations: 24 kB / 448.6 MB, free: 7.113 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.001145/0.1241, allocations: 465 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1243, allocations: 63.83 kB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1243, allocations: 0 / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.1244, allocations: 32.05 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1247, allocations: 27.88 kB / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.1252, allocations: 230.1 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1256, allocations: 0.7043 MB / 450.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1257, allocations: 13.19 kB / 450.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1257, allocations: 19.42 kB / 450.1 MB, free: 5.547 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1257, allocations: 0 / 450.1 MB, free: 5.547 MB / 382.1 MB Notification: Performance of Templates: time 0.004401/0.1301, allocations: 1.583 MB / 451.7 MB, free: 3.965 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches