Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 94.95 kB / 15.69 MB, free: 484 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.001246/0.001246, allocations: 176.7 kB / 16.56 MB, free: 6.852 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.224/1.224, 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.2896/0.2896, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0004873/0.0004874, allocations: 15.98 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002004/0.1239, allocations: 1.26 MB / 444 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006649/0.1246, allocations: 279.9 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.1247, allocations: 0 / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1249, allocations: 15.86 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.125, allocations: 27.91 kB / 444.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1253, allocations: 67.84 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1254, allocations: 35.91 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.1256, allocations: 11.97 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.1256, allocations: 19.92 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1257, allocations: 15.86 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1257, allocations: 4 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.1257, allocations: 16 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.1258, allocations: 11.92 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1258, allocations: 33.7 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1259, allocations: 64.08 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1259, allocations: 0 / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1259, allocations: 3.984 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.126, allocations: 0 / 444.6 MB, free: 11.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003662/0.1263, allocations: 367.1 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1264, allocations: 12.02 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1264, allocations: 15.8 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1266, allocations: 186.5 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1266, allocations: 11.94 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1266, allocations: 0 / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1267, allocations: 49.69 kB / 445.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1267, allocations: 0 / 445.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-06/0.1267, allocations: 0 / 445.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1268, allocations: 0 / 445.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.728e-05/0.1269, allocations: 35.92 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1272, allocations: 272.8 kB / 445.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1273, allocations: 42.56 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1274, allocations: 96 / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1274, allocations: 34.55 kB / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1274, allocations: 4 kB / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005023/0.1279, allocations: 165.2 kB / 445.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.128, allocations: 55.41 kB / 445.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1281, allocations: 146 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1281, allocations: 25.7 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.1282, allocations: 100.1 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1282, allocations: 15.75 kB / 446.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1282, allocations: 4 kB / 446.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.1283, allocations: 318.8 kB / 446.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.1284, allocations: 31.92 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1284, allocations: 24.05 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.412e-05/0.1285, allocations: 23.98 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1285, allocations: 0 / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.1287, allocations: 85.58 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1287, allocations: 8 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1287, allocations: 3.953 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1287, allocations: 0 / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.1288, allocations: 15.98 kB / 446.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1288, allocations: 0 / 446.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1289, allocations: 8 kB / 446.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1289, allocations: 4 kB / 446.6 MB, free: 8.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.702e-05/0.129, allocations: 121.8 kB / 446.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.129, allocations: 7.906 kB / 446.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1292, allocations: 102 kB / 446.8 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1292, allocations: 7.953 kB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1292, allocations: 0 / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1293, allocations: 0 / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.1296, allocations: 350.5 kB / 447.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1297, allocations: 0 / 447.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.1297, allocations: 15.98 kB / 447.2 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.1297, allocations: 7.953 kB / 447.2 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1297, allocations: 8.531 kB / 447.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1297, allocations: 0 / 447.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1298, allocations: 4 kB / 447.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.13, allocations: 187.4 kB / 447.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.13, allocations: 88.94 kB / 447.5 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.13, allocations: 7.953 kB / 447.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1301, allocations: 7.984 kB / 447.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1301, allocations: 0 / 447.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1302, allocations: 8 kB / 447.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.58e-05/0.1302, allocations: 119.2 kB / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1302, allocations: 4 kB / 447.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1305, allocations: 19.91 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008387/0.1313, allocations: 399.1 kB / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1315, allocations: 55.97 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1316, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1316, allocations: 31.92 kB / 448.1 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1319, allocations: 11.98 kB / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.1323, allocations: 192.6 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1326, allocations: 0.6965 MB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.1326, allocations: 4 kB / 449 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1327, allocations: 15.42 kB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1327, allocations: 0 / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of Templates: time 0.002833/0.1355, allocations: 0.9985 MB / 450.1 MB, free: 5.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches