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.001153/0.001153, allocations: 107.8 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.001117/0.001117, allocations: 187.5 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.403/1.403, 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.237/0.237, allocations: 43.53 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.001648/0.001648, allocations: 69.66 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 57.8 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003302/0.1133, allocations: 1.608 MB / 442.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.1139, allocations: 312.1 kB / 442.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.114, allocations: 0 / 442.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1144, allocations: 123.7 kB / 442.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1146, allocations: 75.84 kB / 442.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1149, allocations: 63.86 kB / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.115, allocations: 83.86 kB / 442.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1151, allocations: 15.92 kB / 442.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.1152, allocations: 47.83 kB / 443 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1153, allocations: 79.78 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1154, allocations: 4 kB / 443.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.1154, allocations: 28 kB / 443.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1155, allocations: 27.91 kB / 443.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1155, allocations: 35.67 kB / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1157, allocations: 75.91 kB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1157, allocations: 4 kB / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1157, allocations: 0 / 443.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1157, allocations: 0 / 443.2 MB, free: 4.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004383/0.1162, allocations: 426.7 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1162, allocations: 15.83 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.1163, allocations: 12.75 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1165, allocations: 196 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1165, allocations: 8.375 kB / 443.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1165, allocations: 4.359 kB / 443.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1167, allocations: 53.81 kB / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1167, allocations: 0 / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1167, allocations: 0 / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1167, allocations: 0 / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.1168, allocations: 19.98 kB / 443.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1172, allocations: 296.8 kB / 444.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1174, allocations: 46.56 kB / 444.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.1175, allocations: 12.95 kB / 444.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1175, allocations: 3.984 kB / 444.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1175, allocations: 30.56 kB / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1175, allocations: 0 / 444.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005225/0.1181, allocations: 161.3 kB / 444.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1181, allocations: 51.41 kB / 444.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1183, allocations: 262.3 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1183, allocations: 29.7 kB / 444.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.1184, allocations: 108.1 kB / 444.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1184, allocations: 23.59 kB / 445 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1184, allocations: 17.72 kB / 445 MB, free: 2.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.1185, allocations: 338.8 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1186, allocations: 15.98 kB / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.1186, allocations: 15.98 kB / 445.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1187, allocations: 49.03 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1187, allocations: 0 / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.1189, allocations: 77.67 kB / 445.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1189, allocations: 19.92 kB / 445.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1189, allocations: 3.984 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1189, allocations: 0 / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.119, allocations: 11.94 kB / 445.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.119, allocations: 0 / 445.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.1191, allocations: 7.984 kB / 445.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1191, allocations: 4 kB / 445.5 MB, free: 2.258 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.1192, allocations: 141.7 kB / 445.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1192, allocations: 19.81 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.1194, allocations: 94.66 kB / 445.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1194, allocations: 0 / 445.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1194, allocations: 0 / 445.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1194, allocations: 3.938 kB / 445.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.1198, allocations: 362.4 kB / 446.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1198, allocations: 7.984 kB / 446.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.1199, allocations: 12 kB / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1199, allocations: 0 / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1199, allocations: 192 / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1199, allocations: 7.938 kB / 446.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1199, allocations: 0 / 446.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1201, allocations: 187.3 kB / 446.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.1201, allocations: 89.02 kB / 446.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1202, allocations: 4 kB / 446.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.1202, allocations: 7.922 kB / 446.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1203, allocations: 4 kB / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1203, allocations: 0 / 446.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1204, allocations: 199.2 kB / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 4 kB / 446.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1206, allocations: 15.98 kB / 446.6 MB, free: 1.02 MB / 318.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 (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.0009755/0.1216, allocations: 406.3 kB / 447 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1218, allocations: 51.89 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1219, allocations: 0 / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.1219, allocations: 23.98 kB / 447.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1223, allocations: 15.98 kB / 447.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1228, allocations: 328.2 kB / 447.4 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1231, allocations: 0.7158 MB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.1232, allocations: 19.42 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1232, allocations: 0 / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003494/0.1267, allocations: 1.603 MB / 449.8 MB, free: 13.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/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