Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.1 kB / 16.64 MB, free: 6.367 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.001232/0.001232, allocations: 193.9 kB / 17.56 MB, free: 5.801 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.381/1.381, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2169/0.2169, allocations: 43.52 MB / 314.3 MB, free: 0.6953 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.001638/0.001638, allocations: 79.11 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, allocations: 57.79 MB / 440.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003456/0.1213, allocations: 1.746 MB / 442.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1227, allocations: 0.7967 MB / 443.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1228, allocations: 4 kB / 443.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.1233, allocations: 27.84 kB / 443.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1237, allocations: 47.83 kB / 443.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1241, allocations: 79.47 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1243, allocations: 99.69 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1244, allocations: 16.52 kB / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.1245, allocations: 39.78 kB / 443.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.1246, allocations: 39.78 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1246, allocations: 0 / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1248, allocations: 39.98 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1248, allocations: 19.92 kB / 443.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.1249, allocations: 35.73 kB / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1251, allocations: 83.83 kB / 443.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1251, allocations: 4 kB / 443.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1251, allocations: 0 / 443.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1251, allocations: 0 / 443.7 MB, free: 4.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005567/0.1257, allocations: 410.9 kB / 444.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1257, allocations: 19.83 kB / 444.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.1258, allocations: 8.844 kB / 444.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.126, allocations: 205.2 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.126, allocations: 8.312 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1261, allocations: 8.109 kB / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1262, allocations: 57.67 kB / 444.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1262, allocations: 4 kB / 444.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1263, allocations: 0 / 444.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1263, allocations: 0 / 444.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.1264, allocations: 19.98 kB / 444.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1267, allocations: 288.7 kB / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1269, allocations: 62.67 kB / 444.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.1269, allocations: 20.84 kB / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.127, allocations: 0 / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.1272, allocations: 71.33 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1272, allocations: 0 / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.1278, allocations: 185.3 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1278, allocations: 51.41 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.128, allocations: 190.1 kB / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.128, allocations: 29.7 kB / 445.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.128, allocations: 100.1 kB / 445.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1281, allocations: 23.7 kB / 445.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1281, allocations: 21.72 kB / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.1282, allocations: 322.8 kB / 445.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.1282, allocations: 31.92 kB / 445.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.1283, allocations: 37.7 kB / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.1284, allocations: 57.64 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1284, allocations: 0 / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.1286, allocations: 93.59 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1286, allocations: 8 kB / 446 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1286, allocations: 4.031 kB / 446 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1286, allocations: 0 / 446 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.1287, allocations: 19.92 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1287, allocations: 4 kB / 446.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1288, allocations: 3.938 kB / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1288, allocations: 8 kB / 446.1 MB, free: 1.668 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 (10): * Single equations (assignments): 10 * 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 7.177e-05/0.1289, allocations: 125.8 kB / 446.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1289, allocations: 11.81 kB / 446.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.129, allocations: 20.72 kB / 446.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.129, allocations: 3.938 kB / 446.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.129, allocations: 3.984 kB / 446.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.129, allocations: 3.938 kB / 446.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.1293, allocations: 395.3 kB / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1293, allocations: 0 / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1294, allocations: 8 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1294, allocations: 0 / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1294, allocations: 3.969 kB / 446.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1294, allocations: 11.94 kB / 446.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1294, allocations: 0 / 446.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1296, allocations: 204.3 kB / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.1296, allocations: 85.02 kB / 446.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1297, allocations: 3.938 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1298, allocations: 8 kB / 446.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1298, allocations: 7.984 kB / 446.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1298, allocations: 4 kB / 446.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.771e-05/0.1299, allocations: 143.2 kB / 447.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1299, allocations: 0 / 447.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1302, allocations: 27.91 kB / 447.1 MB, free: 0.5039 MB / 318.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 (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.001083/0.1313, allocations: 484.2 kB / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1315, allocations: 59.91 kB / 447.6 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1315, allocations: 0 / 447.6 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.1316, allocations: 31.98 kB / 447.7 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1319, allocations: 24.06 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1325, allocations: 273.1 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1328, allocations: 0.7041 MB / 448.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.1329, allocations: 19.44 kB / 448.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1329, allocations: 0 / 448.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004267/0.1371, allocations: 1.895 MB / 450.6 MB, free: 13.05 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches