Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.227/1.227, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0006981/0.0006981, allocations: 90.39 kB / 271.2 MB, free: 8.23 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.2928/0.2928, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001733/0.1142, allocations: 1.255 MB / 492.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005094/0.1147, allocations: 299.7 kB / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1148, allocations: 0 / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.115, allocations: 27.92 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1151, allocations: 27.91 kB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1153, allocations: 59.86 kB / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1155, allocations: 47.84 kB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1156, allocations: 15.97 kB / 492.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.1157, allocations: 19.92 kB / 492.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.1157, allocations: 11.94 kB / 492.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1158, allocations: 7.938 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-05/0.1158, allocations: 27.98 kB / 492.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1159, allocations: 11.97 kB / 492.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.1159, allocations: 49.52 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1161, allocations: 47.92 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1161, allocations: 0 / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1161, allocations: 0 / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1161, allocations: 0 / 492.7 MB, free: 8.961 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.0004353/0.1165, allocations: 391.4 kB / 493.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1166, allocations: 12.03 kB / 493.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1166, allocations: 8.844 kB / 493.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1168, allocations: 196.2 kB / 493.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1168, allocations: 4.312 kB / 493.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1168, allocations: 384 / 493.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.117, allocations: 49.81 kB / 493.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.117, allocations: 0 / 493.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.117, allocations: 8 kB / 493.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.117, allocations: 4 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.1171, allocations: 19.98 kB / 493.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.1174, allocations: 284.8 kB / 493.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1176, allocations: 46.5 kB / 493.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1177, allocations: 16.94 kB / 493.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1177, allocations: 7.984 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1177, allocations: 38.56 kB / 493.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1177, allocations: 0 / 493.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005079/0.1182, allocations: 153.3 kB / 493.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1183, allocations: 55.41 kB / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1184, allocations: 165.7 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1185, allocations: 29.7 kB / 494.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1185, allocations: 104.1 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1186, allocations: 11.75 kB / 494.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1186, allocations: 0 / 494.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1187, allocations: 326.8 kB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.1187, allocations: 19.98 kB / 494.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.1188, allocations: 27.98 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1189, allocations: 56.77 kB / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1189, allocations: 0 / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.1191, allocations: 89.58 kB / 494.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1191, allocations: 4 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1191, allocations: 4 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1191, allocations: 0 / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1192, allocations: 15.98 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1192, allocations: 3.938 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.1193, allocations: 4 kB / 494.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1193, allocations: 4 kB / 494.8 MB, free: 6.625 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 8.076e-05/0.1194, allocations: 133.7 kB / 495 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1194, allocations: 7.906 kB / 495 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.1196, allocations: 106.1 kB / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1196, allocations: 0 / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1197, allocations: 4 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1197, allocations: 0 / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.12, allocations: 354.4 kB / 495.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.12, allocations: 0 / 495.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1201, allocations: 16 kB / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1201, allocations: 0 / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1201, allocations: 0 / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1201, allocations: 3.938 kB / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1201, allocations: 0 / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.1203, allocations: 187.4 kB / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1204, allocations: 92.95 kB / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1204, allocations: 0 / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1205, allocations: 11.92 kB / 495.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1205, allocations: 4 kB / 495.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1205, allocations: 0 / 495.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.1206, allocations: 134.7 kB / 495.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1206, allocations: 0 / 495.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.1208, allocations: 12 kB / 495.9 MB, free: 5.473 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.0007494/0.1216, allocations: 410.8 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1218, allocations: 51.97 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1218, allocations: 0 / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.1219, allocations: 35.92 kB / 496.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1222, allocations: 11.98 kB / 496.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.1225, allocations: 227.3 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1227, allocations: 0.6965 MB / 497.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1228, allocations: 15.44 kB / 497.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1228, allocations: 0 / 497.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of Templates: time 0.002641/0.1254, allocations: 1.384 MB / 498.7 MB, free: 2.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches