Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 96.52 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.001012/0.001012, allocations: 176.6 kB / 16.57 MB, free: 6.387 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.371/1.371, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.323/0.323, allocations: 43.54 MB / 314.5 MB, free: 8.684 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.0004938/0.0004939, allocations: 16 kB / 383.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1194, allocations: 58.85 MB / 442.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002161/0.1216, allocations: 1.391 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1229, allocations: 0.7267 MB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.123, allocations: 4 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1233, allocations: 35.83 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1235, allocations: 43.88 kB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1238, allocations: 79.77 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.124, allocations: 59.86 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1241, allocations: 12.22 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1242, allocations: 39.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.1243, allocations: 35.84 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1243, allocations: 0 / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1244, allocations: 35.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.1245, allocations: 23.91 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1245, allocations: 41.64 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1247, allocations: 100.1 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1247, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1247, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1248, allocations: 0 / 445.4 MB, free: 10.45 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.000556/0.1253, allocations: 430.6 kB / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1254, allocations: 8.031 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1254, allocations: 15.81 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1257, allocations: 202.9 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1257, allocations: 15.94 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1257, allocations: 3.938 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1259, allocations: 53.67 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1259, allocations: 3.906 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1259, allocations: 4 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1259, allocations: 7.953 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.126, allocations: 19.97 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1264, allocations: 292.9 kB / 446.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1265, allocations: 50.62 kB / 446.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1266, allocations: 8 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1267, allocations: 67.47 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1267, allocations: 0 / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.1273, allocations: 189 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1273, allocations: 51.41 kB / 446.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1276, allocations: 258.5 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1276, allocations: 29.7 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.1277, allocations: 116 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1277, allocations: 23.73 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1277, allocations: 4 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1278, allocations: 322.8 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.1279, allocations: 23.98 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.128, allocations: 37.64 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.128, allocations: 24 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.128, allocations: 0 / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.1282, allocations: 117.4 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1283, allocations: 7.953 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1283, allocations: 0 / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1283, allocations: 0 / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.1284, allocations: 16 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1284, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.1285, allocations: 7.984 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1285, allocations: 4.031 kB / 447.7 MB, free: 7.859 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.0001042/0.1286, allocations: 137.8 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1286, allocations: 15.81 kB / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1287, allocations: 25.36 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.1287, allocations: 3.984 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1287, allocations: 192 / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1287, allocations: 0 / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1291, allocations: 411.1 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1291, allocations: 384 / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1292, allocations: 15.92 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1292, allocations: 4 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1292, allocations: 4 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1292, allocations: 0 / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1292, allocations: 0 / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1295, allocations: 222 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1295, allocations: 96.91 kB / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1296, allocations: 0 / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.1297, allocations: 4 kB / 448.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.1297, allocations: 15.92 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1297, allocations: 0 / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1299, allocations: 200 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 0 / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1302, allocations: 27.98 kB / 448.9 MB, free: 6.59 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.001043/0.1313, allocations: 465.1 kB / 449.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1315, allocations: 59.91 kB / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1315, allocations: 0 / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.1315, allocations: 28 kB / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1318, allocations: 27.92 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.1323, allocations: 299.3 kB / 449.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1326, allocations: 0.7199 MB / 450.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.1327, allocations: 24.8 kB / 450.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.1327, allocations: 15.44 kB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1327, allocations: 0 / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of Templates: time 0.004403/0.1371, allocations: 1.622 MB / 452.1 MB, free: 3.324 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches