Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 105.7 kB / 16.94 MB, free: 5.789 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.001247/0.001247, allocations: 183.3 kB / 17.86 MB, free: 5.164 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.507/1.507, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2142/0.2142, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.001492/0.001492, allocations: 74.69 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.78 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00271/0.1054, allocations: 1.548 MB / 442.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005008/0.1059, allocations: 315.5 kB / 443 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.106, allocations: 3.938 kB / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1062, allocations: 27.8 kB / 443.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1064, allocations: 39.84 kB / 443.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1066, allocations: 67.84 kB / 443.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1068, allocations: 55.84 kB / 443.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1069, allocations: 11.92 kB / 443.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1069, allocations: 19.92 kB / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.107, allocations: 19.86 kB / 443.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.107, allocations: 4 kB / 443.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.1071, allocations: 28 kB / 443.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.1071, allocations: 19.91 kB / 443.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.1072, allocations: 23.81 kB / 443.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1073, allocations: 75.73 kB / 443.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1073, allocations: 0 / 443.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1073, allocations: 4 kB / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1073, allocations: 0 / 443.4 MB, free: 4.637 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.0003698/0.1077, allocations: 375.2 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1078, allocations: 11.89 kB / 443.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1078, allocations: 8.844 kB / 443.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1079, allocations: 196.2 kB / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.108, allocations: 384 / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.108, allocations: 4.375 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1081, allocations: 49.75 kB / 444.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1081, allocations: 0 / 444.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1082, allocations: 4 kB / 444.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1082, allocations: 4 kB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.1082, allocations: 15.98 kB / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.1085, allocations: 280.8 kB / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1087, allocations: 46.5 kB / 444.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.1088, allocations: 12.94 kB / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1088, allocations: 0 / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.1088, allocations: 46.5 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1088, allocations: 0 / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004878/0.1093, allocations: 133.3 kB / 444.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1094, allocations: 51.41 kB / 444.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1095, allocations: 157.4 kB / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1095, allocations: 29.7 kB / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.1095, allocations: 96.08 kB / 444.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1096, allocations: 23.64 kB / 444.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1096, allocations: 17.72 kB / 445 MB, free: 2.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.1096, allocations: 326.8 kB / 445.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.1097, allocations: 15.98 kB / 445.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.1098, allocations: 20.05 kB / 445.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1099, allocations: 44.84 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1099, allocations: 4 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001587/0.1101, allocations: 85.5 kB / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1101, allocations: 4 kB / 445.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1101, allocations: 0 / 445.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1101, allocations: 288 / 445.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1102, allocations: 8 kB / 445.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1102, allocations: 4 kB / 445.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.1102, allocations: 3.984 kB / 445.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.1103, allocations: 11.94 kB / 445.5 MB, free: 2.367 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 6.156e-05/0.1103, allocations: 117.8 kB / 445.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1104, allocations: 15.89 kB / 445.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.1106, allocations: 93.89 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1106, allocations: 0 / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1106, allocations: 0 / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1106, allocations: 0 / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1109, allocations: 342.8 kB / 446 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1109, allocations: 64 / 446 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.111, allocations: 27.92 kB / 446.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.111, allocations: 0 / 446.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.111, allocations: 0 / 446.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.111, allocations: 3.938 kB / 446.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.111, allocations: 3.984 kB / 446.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.1112, allocations: 175.4 kB / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.1112, allocations: 85.02 kB / 446.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1112, allocations: 3.984 kB / 446.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1113, allocations: 7.938 kB / 446.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1113, allocations: 0 / 446.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1113, allocations: 4 kB / 446.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.1114, allocations: 123.2 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1114, allocations: 7.938 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1117, allocations: 19.98 kB / 446.5 MB, free: 1.254 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.000847/0.1125, allocations: 397.5 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1127, allocations: 51.95 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1127, allocations: 0 / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1128, allocations: 31.92 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1132, allocations: 15.94 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.1135, allocations: 195.3 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.1136, allocations: 0.6963 MB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1137, allocations: 15.44 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1137, allocations: 3.938 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Templates: time 0.002813/0.1165, allocations: 1.369 MB / 449.3 MB, free: 14.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches