Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009427, allocations: 96.75 kB / 15.68 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.001164/0.001164, allocations: 168.6 kB / 16.56 MB, free: 6.379 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.326/1.326, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3048/0.3048, allocations: 43.55 MB / 314.5 MB, free: 9.047 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.0004974/0.0004975, allocations: 16 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 58.85 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001939/0.1196, allocations: 1.253 MB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.1202, allocations: 287.8 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1203, allocations: 3.938 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1206, allocations: 111.8 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1208, allocations: 79.81 kB / 444.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.121, allocations: 59.81 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1212, allocations: 59.84 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1213, allocations: 11.98 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.1214, allocations: 35.89 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1215, allocations: 59.86 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1215, allocations: 4 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.1216, allocations: 12 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1217, allocations: 23.92 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1217, allocations: 41.62 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1219, allocations: 80.05 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1219, allocations: 3.938 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1219, allocations: 0 / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1219, allocations: 0 / 444.9 MB, free: 11.17 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.0005085/0.1224, allocations: 410.8 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1225, allocations: 16.02 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1225, allocations: 11.86 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1227, allocations: 206.5 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1228, allocations: 4 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1228, allocations: 0 / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1229, allocations: 53.67 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.123, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.123, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.123, allocations: 4 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1231, allocations: 35.88 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.1235, allocations: 281 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1237, allocations: 50.5 kB / 445.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1237, allocations: 0 / 445.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1238, allocations: 38.5 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1238, allocations: 0 / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005684/0.1244, allocations: 177.1 kB / 446.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1244, allocations: 55.41 kB / 446.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.1246, allocations: 263.3 kB / 446.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1247, allocations: 25.7 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1247, allocations: 120 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1248, allocations: 7.812 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.1248, allocations: 12 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1249, allocations: 322.8 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.125, allocations: 19.98 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.125, allocations: 23.98 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.575e-05/0.1251, allocations: 23.98 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1251, allocations: 4 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.1253, allocations: 81.58 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1253, allocations: 8 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1254, allocations: 3.953 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1254, allocations: 0 / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.1255, allocations: 23.92 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1255, allocations: 0 / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.1255, allocations: 7.938 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1255, allocations: 8 kB / 447.1 MB, free: 8.707 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 9.783e-05/0.1256, allocations: 125.8 kB / 447.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1257, allocations: 19.8 kB / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1259, allocations: 102.7 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1259, allocations: 7.953 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1259, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1259, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.1263, allocations: 370.5 kB / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1264, allocations: 384 / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.1264, allocations: 19.98 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1264, allocations: 7.953 kB / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1264, allocations: 0 / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1265, allocations: 0 / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1265, allocations: 0 / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1267, allocations: 195.3 kB / 447.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1267, allocations: 88.91 kB / 448 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1268, allocations: 7.953 kB / 448 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1268, allocations: 4 kB / 448 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1269, allocations: 15.98 kB / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1269, allocations: 3.938 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1271, allocations: 207.3 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1273, allocations: 20 kB / 448.3 MB, free: 7.426 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.0009055/0.1282, allocations: 398 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1284, allocations: 59.91 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1284, allocations: 0 / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.1285, allocations: 27.98 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1288, allocations: 12.17 kB / 448.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.1292, allocations: 286.1 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1295, allocations: 0.7238 MB / 449.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.1296, allocations: 8 kB / 449.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.1296, allocations: 11.44 kB / 449.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1296, allocations: 0 / 449.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of Templates: time 0.00319/0.1328, allocations: 1.054 MB / 450.8 MB, free: 4.836 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches