Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009041, allocations: 97.22 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.001076/0.001076, allocations: 175.8 kB / 16.57 MB, free: 6.391 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.234/1.234, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3145/0.3145, allocations: 43.54 MB / 314.5 MB, free: 8.801 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.0004727/0.0004728, allocations: 12 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001674/0.1138, allocations: 1.26 MB / 444 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005106/0.1144, allocations: 279.9 kB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.1144, allocations: 0 / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1147, allocations: 71.77 kB / 444.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1149, allocations: 51.88 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1151, allocations: 63.8 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1152, allocations: 43.88 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.1153, allocations: 11.98 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.1154, allocations: 27.89 kB / 444.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1155, allocations: 31.86 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1155, allocations: 4 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.1156, allocations: 23.98 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.1156, allocations: 15.91 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.1157, allocations: 33.7 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1158, allocations: 68.08 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1158, allocations: 0 / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1158, allocations: 0 / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1158, allocations: 0 / 444.7 MB, free: 11.08 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.0004132/0.1162, allocations: 379 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1163, allocations: 16.02 kB / 445.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.1163, allocations: 15.86 kB / 445.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1165, allocations: 186.9 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1165, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1165, allocations: 8 kB / 445.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1167, allocations: 53.62 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1167, allocations: 11.88 kB / 445.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1167, allocations: 0 / 445.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1167, allocations: 0 / 445.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1168, allocations: 35.88 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1171, allocations: 277 kB / 445.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1173, allocations: 42.56 kB / 445.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1174, allocations: 4 kB / 445.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1174, allocations: 38.5 kB / 445.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1174, allocations: 0 / 445.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.1179, allocations: 153.4 kB / 445.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.118, allocations: 59.34 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1181, allocations: 190.2 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1181, allocations: 25.7 kB / 446.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1182, allocations: 112 kB / 446.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.1182, allocations: 11.81 kB / 446.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1182, allocations: 0 / 446.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.1183, allocations: 326.8 kB / 446.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.1184, allocations: 23.98 kB / 446.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.1185, allocations: 15.98 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.1186, allocations: 27.98 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1186, allocations: 4 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.1188, allocations: 81.58 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1188, allocations: 8 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1188, allocations: 3.953 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1188, allocations: 0 / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.1189, allocations: 23.92 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1189, allocations: 0 / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1189, allocations: 4 kB / 446.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1189, allocations: 7.984 kB / 446.8 MB, free: 8.762 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.005e-05/0.119, allocations: 117.8 kB / 446.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1191, allocations: 11.91 kB / 446.9 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.1193, allocations: 97.97 kB / 447 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1193, allocations: 3.953 kB / 447 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.1193, allocations: 0 / 447 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1193, allocations: 3.984 kB / 447 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1197, allocations: 366.7 kB / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1197, allocations: 0 / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.1198, allocations: 15.98 kB / 447.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1198, allocations: 3.953 kB / 447.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1198, allocations: 0 / 447.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1198, allocations: 0 / 447.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1198, allocations: 3.938 kB / 447.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1201, allocations: 187.4 kB / 447.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.1201, allocations: 89 kB / 447.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1201, allocations: 7.953 kB / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.1202, allocations: 4 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.1203, allocations: 7.984 kB / 447.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1203, allocations: 4 kB / 447.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1204, allocations: 155.8 kB / 447.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1204, allocations: 0 / 447.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1206, allocations: 12 kB / 447.9 MB, free: 7.586 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.0008343/0.1215, allocations: 405.3 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1217, allocations: 59.91 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1217, allocations: 3.938 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.1218, allocations: 23.98 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.122, allocations: 19.92 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.1224, allocations: 221 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1226, allocations: 0.7004 MB / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.1227, allocations: 8 kB / 449.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.1227, allocations: 19.42 kB / 449.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1227, allocations: 0 / 449.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of Templates: time 0.003177/0.1259, allocations: 1.014 MB / 450.3 MB, free: 5.102 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches