Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001395, allocations: 179.3 kB / 16.41 MB, free: 5.727 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.61/1.61, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007532/0.0007531, allocations: 89.02 kB / 270.9 MB, free: 8.348 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.3285/0.3285, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001756/0.1126, allocations: 1.255 MB / 491.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.1131, allocations: 295.8 kB / 491.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.1132, allocations: 0 / 491.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1133, allocations: 15.92 kB / 491.8 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1135, allocations: 31.91 kB / 491.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1137, allocations: 63.8 kB / 491.9 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.1138, allocations: 43.84 kB / 491.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.1139, allocations: 23.97 kB / 492 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.114, allocations: 15.92 kB / 492 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.114, allocations: 19.86 kB / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1141, allocations: 0 / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.1141, allocations: 28 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.1142, allocations: 15.91 kB / 492 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1142, allocations: 29.7 kB / 492.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1143, allocations: 47.92 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1143, allocations: 0 / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1143, allocations: 0 / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1143, allocations: 0 / 492.1 MB, free: 9.09 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.000399/0.1147, allocations: 391.1 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1148, allocations: 12.02 kB / 492.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.1148, allocations: 11.86 kB / 492.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.115, allocations: 178.5 kB / 492.7 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.115, allocations: 0 / 492.7 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1151, allocations: 4 kB / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1152, allocations: 49.67 kB / 492.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1152, allocations: 4 kB / 492.7 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1152, allocations: 7.984 kB / 492.7 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1152, allocations: 0 / 492.7 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.1153, allocations: 35.88 kB / 492.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1156, allocations: 272.9 kB / 493.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1158, allocations: 46.56 kB / 493.1 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.1159, allocations: 16.95 kB / 493.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1159, allocations: 3.984 kB / 493.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1159, allocations: 38.5 kB / 493.2 MB, free: 7.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1159, allocations: 0 / 493.2 MB, free: 7.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005374/0.1165, allocations: 169.2 kB / 493.3 MB, free: 7.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1165, allocations: 51.41 kB / 493.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1167, allocations: 154 kB / 493.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1167, allocations: 25.7 kB / 493.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.1168, allocations: 96.12 kB / 493.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1168, allocations: 7.812 kB / 493.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1168, allocations: 3.938 kB / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.1169, allocations: 322.8 kB / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.117, allocations: 23.98 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.117, allocations: 23.98 kB / 494 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.1171, allocations: 23.98 kB / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1171, allocations: 0 / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.1173, allocations: 85.58 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1173, allocations: 11.95 kB / 494.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1174, allocations: 0 / 494.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1174, allocations: 0 / 494.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.1174, allocations: 19.92 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1175, allocations: 3.938 kB / 494.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1175, allocations: 8 kB / 494.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1175, allocations: 7.984 kB / 494.2 MB, free: 6.809 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.17e-05/0.1176, allocations: 117.8 kB / 494.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.1176, allocations: 7.906 kB / 494.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1179, allocations: 97.86 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.1179, allocations: 4 kB / 494.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1179, allocations: 4 kB / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1179, allocations: 0 / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1183, allocations: 346.9 kB / 494.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1183, allocations: 8 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1184, allocations: 19.94 kB / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1184, allocations: 4 kB / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1184, allocations: 0 / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1184, allocations: 0 / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1184, allocations: 0 / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1186, allocations: 191.4 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.1187, allocations: 81.02 kB / 495 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1187, allocations: 7.953 kB / 495 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.1188, allocations: 11.98 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1188, allocations: 0 / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1188, allocations: 4 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.1189, allocations: 115.2 kB / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1189, allocations: 0 / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.1192, allocations: 19.91 kB / 495.2 MB, free: 5.684 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.000757/0.1199, allocations: 408.4 kB / 495.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1201, allocations: 55.91 kB / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1201, allocations: 0 / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.1202, allocations: 31.98 kB / 495.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1205, allocations: 15.92 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.1209, allocations: 214.4 kB / 495.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1211, allocations: 0.6965 MB / 496.6 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1212, allocations: 11.44 kB / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1212, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of Templates: time 0.002627/0.1238, allocations: 1.364 MB / 498 MB, free: 2.887 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches