Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008571/0.000857, allocations: 175.5 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006912/0.0006912, allocations: 101.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3086/0.3086, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 15.98 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001624/0.1085, allocations: 1.267 MB / 492.1 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1096, allocations: 0.8831 MB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.1096, allocations: 4 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.1098, allocations: 19.91 kB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.11, allocations: 27.92 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1102, allocations: 71.78 kB / 493.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1103, allocations: 51.84 kB / 493.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1104, allocations: 11.97 kB / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1105, allocations: 15.94 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1106, allocations: 27.84 kB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1106, allocations: 4 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.1107, allocations: 35.98 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1108, allocations: 15.92 kB / 493.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1108, allocations: 45.62 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1109, allocations: 59.84 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.111, allocations: 0 / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.111, allocations: 0 / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.111, allocations: 0 / 493.4 MB, free: 8.336 MB / 378.7 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.0003874/0.1114, allocations: 379.2 kB / 493.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1114, allocations: 8.031 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1114, allocations: 8.844 kB / 493.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1116, allocations: 184.2 kB / 493.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1116, allocations: 8.375 kB / 493.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1117, allocations: 384 / 493.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1118, allocations: 75.45 kB / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1118, allocations: 0 / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1118, allocations: 4 kB / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1119, allocations: 0 / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.112, allocations: 27.98 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.1123, allocations: 272.9 kB / 494.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1124, allocations: 46.5 kB / 494.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1125, allocations: 20.94 kB / 494.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1125, allocations: 7.938 kB / 494.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1126, allocations: 34.56 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1126, allocations: 0 / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004953/0.1131, allocations: 157.3 kB / 494.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1131, allocations: 77.11 kB / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1132, allocations: 133.8 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1133, allocations: 25.7 kB / 494.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.1133, allocations: 88.14 kB / 494.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1133, allocations: 23.73 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1133, allocations: 3.938 kB / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.1134, allocations: 322.8 kB / 495.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.1135, allocations: 19.98 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.1136, allocations: 37.69 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1137, allocations: 56.81 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1137, allocations: 0 / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001622/0.1139, allocations: 89.56 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1139, allocations: 8 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1139, allocations: 0 / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1139, allocations: 0 / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.114, allocations: 16 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.114, allocations: 0 / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1141, allocations: 7.984 kB / 495.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1141, allocations: 4 kB / 495.5 MB, free: 6 MB / 378.7 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 7.795e-05/0.1142, allocations: 125.8 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1142, allocations: 3.906 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.1144, allocations: 97.81 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1144, allocations: 0 / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1144, allocations: 4.062 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1145, allocations: 7.984 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.1148, allocations: 350.5 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1148, allocations: 4 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.1149, allocations: 11.98 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1149, allocations: 8 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1149, allocations: 0 / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1149, allocations: 3.938 kB / 496.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1149, allocations: 0 / 496.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1151, allocations: 179.4 kB / 496.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1152, allocations: 89 kB / 496.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1152, allocations: 4 kB / 496.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.1153, allocations: 11.94 kB / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1153, allocations: 3.984 kB / 496.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1153, allocations: 4 kB / 496.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.1154, allocations: 111.6 kB / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.1156, allocations: 31.92 kB / 496.5 MB, free: 4.863 MB / 378.7 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.0008265/0.1165, allocations: 433.8 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1167, allocations: 55.97 kB / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1167, allocations: 0 / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1168, allocations: 31.92 kB / 497 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.117, allocations: 15.92 kB / 497 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.1174, allocations: 194.3 kB / 497.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1177, allocations: 0.6887 MB / 497.9 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1177, allocations: 19.42 kB / 497.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1177, allocations: 0 / 497.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Templates: time 0.002777/0.1205, allocations: 1.536 MB / 499.4 MB, free: 1.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches