Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 97.53 kB / 15.69 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.0009437/0.0009437, allocations: 170.4 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.353/1.353, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3093/0.3093, allocations: 43.54 MB / 314.5 MB, free: 8.992 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.0004656/0.0004657, allocations: 16 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.85 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00185/0.1106, allocations: 1.253 MB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005545/0.1112, allocations: 287.8 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.1113, allocations: 3.938 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1115, allocations: 71.83 kB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1117, allocations: 51.88 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.112, allocations: 71.72 kB / 444.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1121, allocations: 43.89 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.1122, allocations: 15.97 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.1123, allocations: 23.91 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.1124, allocations: 39.89 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1124, allocations: 0 / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.1125, allocations: 23.98 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.1125, allocations: 15.92 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1126, allocations: 37.64 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1127, allocations: 72.06 kB / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.1127, allocations: 0 / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1127, allocations: 0 / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1127, allocations: 0 / 444.7 MB, free: 11.29 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.0004335/0.1132, allocations: 387 kB / 445.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1132, allocations: 12.02 kB / 445.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1132, allocations: 15.86 kB / 445.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1134, allocations: 190.8 kB / 445.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1135, allocations: 4 kB / 445.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1135, allocations: 0 / 445.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1136, allocations: 49.67 kB / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1136, allocations: 3.938 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1137, allocations: 4 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1137, allocations: 0 / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.1138, allocations: 31.94 kB / 445.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1141, allocations: 276.9 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1143, allocations: 42.56 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1144, allocations: 0 / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1144, allocations: 38.64 kB / 445.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1144, allocations: 0 / 445.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005834/0.115, allocations: 169.1 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1151, allocations: 51.41 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1153, allocations: 202.2 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1153, allocations: 25.7 kB / 446.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.1153, allocations: 112.1 kB / 446.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1154, allocations: 11.72 kB / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.1154, allocations: 0 / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1155, allocations: 326.8 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.1156, allocations: 23.98 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.1157, allocations: 27.98 kB / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.536e-05/0.1157, allocations: 23.98 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1157, allocations: 4 kB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.1159, allocations: 81.58 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1159, allocations: 8 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1159, allocations: 3.953 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.116, allocations: 0 / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.116, allocations: 19.98 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1161, allocations: 4 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.1161, allocations: 4 kB / 446.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1161, allocations: 4 kB / 446.9 MB, free: 8.957 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 0.0001127/0.1162, allocations: 121.8 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1163, allocations: 7.906 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1165, allocations: 109.8 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1165, allocations: 3.953 kB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1165, allocations: 4 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1165, allocations: 3.984 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.117, allocations: 358.5 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.117, allocations: 0 / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.117, allocations: 15.98 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1171, allocations: 3.953 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1171, allocations: 4.281 kB / 447.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1171, allocations: 4.297 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1171, allocations: 0 / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1173, allocations: 195.3 kB / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1174, allocations: 92.98 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1174, allocations: 3.953 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1175, allocations: 8 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1175, allocations: 11.92 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1175, allocations: 4 kB / 447.8 MB, free: 7.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1177, allocations: 164 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1177, allocations: 3.938 kB / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1179, allocations: 8 kB / 448 MB, free: 7.746 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.0008308/0.1188, allocations: 393 kB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1189, allocations: 55.97 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.119, allocations: 0 / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1191, allocations: 35.86 kB / 448.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1193, allocations: 15.92 kB / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.1197, allocations: 229.2 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.12, allocations: 0.7082 MB / 449.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.1201, allocations: 8 kB / 449.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1201, allocations: 15.44 kB / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1201, allocations: 0 / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of Templates: time 0.003086/0.1232, allocations: 1.027 MB / 450.4 MB, free: 5.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches