Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009048, 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.001036/0.001036, 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.339/1.339, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3475/0.3475, allocations: 43.55 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.0004826/0.0004828, allocations: 14.97 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001713/0.1144, allocations: 1.384 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1155, allocations: 0.7267 MB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.1156, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1158, allocations: 39.83 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.116, allocations: 43.88 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1162, allocations: 67.78 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1163, allocations: 59.86 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.1164, allocations: 20.2 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.1165, allocations: 35.8 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.1166, allocations: 23.84 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1166, allocations: 8 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1167, allocations: 35.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1167, allocations: 15.97 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1168, allocations: 37.64 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1169, allocations: 84.11 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1169, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1169, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1169, allocations: 0 / 445.3 MB, free: 10.48 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.000422/0.1174, allocations: 402.7 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1174, allocations: 16.03 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1174, allocations: 7.906 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1176, allocations: 206.8 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1177, allocations: 4 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1177, allocations: 0 / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1178, allocations: 53.67 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1179, allocations: 7.984 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1179, allocations: 3.984 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1179, allocations: 3.953 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.118, allocations: 15.94 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1184, allocations: 292.9 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1185, allocations: 46.69 kB / 446.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1186, allocations: 4 kB / 446.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1187, allocations: 83.31 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1188, allocations: 0 / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004753/0.1192, allocations: 165.3 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1193, allocations: 55.41 kB / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1195, allocations: 186.1 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1195, allocations: 29.7 kB / 446.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1195, allocations: 108 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1196, allocations: 19.72 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.1196, allocations: 4 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1197, allocations: 322.8 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1198, allocations: 23.98 kB / 447.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.1198, allocations: 33.7 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.1199, allocations: 20.19 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1199, allocations: 0 / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1201, allocations: 105.5 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1201, allocations: 19.89 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1201, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1201, allocations: 0 / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.1202, allocations: 12 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1202, allocations: 4 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1203, allocations: 3.984 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1203, allocations: 4 kB / 447.5 MB, free: 8.035 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.311e-05/0.1204, allocations: 129.8 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.1204, allocations: 11.91 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1205, allocations: 24.81 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1205, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1205, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1205, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.1209, allocations: 403.2 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1209, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.121, allocations: 11.98 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.121, allocations: 4.031 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.121, allocations: 0 / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.121, allocations: 4 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.121, allocations: 0 / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1212, allocations: 217.9 kB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1213, allocations: 96.91 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1213, allocations: 4 kB / 448.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1214, allocations: 4.375 kB / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1214, allocations: 3.984 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1214, allocations: 8 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.1215, allocations: 140.1 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1216, allocations: 4 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1218, allocations: 27.98 kB / 448.6 MB, free: 6.855 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.0009823/0.1228, allocations: 468.8 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.123, allocations: 67.89 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.123, allocations: 0 / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.1231, allocations: 24.06 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1233, allocations: 35.92 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.1237, allocations: 230.4 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.124, allocations: 0.7082 MB / 450.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.1241, allocations: 17.17 kB / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1241, allocations: 19.42 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1241, allocations: 0 / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.004167/0.1283, allocations: 1.576 MB / 451.7 MB, free: 3.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches