Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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.0007961/0.0007964, allocations: 94.5 kB / 17.35 MB, free: 6.371 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.0009112/0.0009112, allocations: 175.2 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1887/0.1887, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003476, allocations: 9.219 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001688/0.1161, allocations: 1.286 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.1169, allocations: 395.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.1169, allocations: 4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1172, allocations: 71.83 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.1173, allocations: 51.81 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1176, allocations: 83.66 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1177, allocations: 63.89 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.1178, allocations: 20.17 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.1179, allocations: 35.78 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.118, allocations: 39.89 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.118, allocations: 0 / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.1181, allocations: 39.98 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.1181, allocations: 15.94 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1182, allocations: 53.44 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1184, allocations: 91.98 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1184, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1184, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1184, allocations: 4 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004156/0.1188, allocations: 391.1 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1188, allocations: 8.031 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1189, allocations: 16.83 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1191, allocations: 192.1 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1191, allocations: 4.375 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1191, allocations: 4.375 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1193, allocations: 57.61 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1193, allocations: 4 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1193, allocations: 4 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1193, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.1194, allocations: 35.91 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.1198, allocations: 288.7 kB / 475.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.1199, allocations: 46.56 kB / 475.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.1199, allocations: 20.94 kB / 475.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.12, allocations: 0 / 475.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.12, allocations: 34.5 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.12, allocations: 3.938 kB / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008702/0.1209, allocations: 261.1 kB / 475.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1209, allocations: 51.41 kB / 475.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1211, allocations: 201.8 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1211, allocations: 25.7 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1212, allocations: 100.1 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1212, allocations: 31.56 kB / 476.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1212, allocations: 13.72 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1213, allocations: 322.8 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.1214, allocations: 27.98 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.1215, allocations: 27.97 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1217, allocations: 69.08 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1217, allocations: 3.938 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.1219, allocations: 113.5 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1219, allocations: 12 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1219, allocations: 0 / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1219, allocations: 0 / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.122, allocations: 19.98 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1221, allocations: 3.938 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.1221, allocations: 4 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.1221, allocations: 8 kB / 476.9 MB, free: 8.52 MB / 350.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 (8): * Single equations (assignments): 8 * 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 8.724e-05/0.1222, allocations: 130.3 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1222, allocations: 7.906 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1225, allocations: 122.4 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1225, allocations: 0 / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1225, allocations: 3.938 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1225, allocations: 8 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.123, allocations: 411.2 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.123, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1231, allocations: 23.97 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1231, allocations: 3.984 kB / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1231, allocations: 3.938 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1231, allocations: 7.938 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1232, allocations: 0 / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1234, allocations: 208.3 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1234, allocations: 88.95 kB / 477.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1235, allocations: 4 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1235, allocations: 7.984 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1236, allocations: 4 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1236, allocations: 432 / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.865e-05/0.1237, allocations: 151.2 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1237, allocations: 4 kB / 478 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.124, allocations: 20 kB / 478 MB, free: 7.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009729/0.1249, allocations: 454.5 kB / 478.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1252, allocations: 71.94 kB / 478.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1252, allocations: 0 / 478.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1253, allocations: 47.86 kB / 478.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1256, allocations: 30.92 kB / 478.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.126, allocations: 257.9 kB / 478.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1263, allocations: 0.7043 MB / 479.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.1264, allocations: 16.64 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.1264, allocations: 11.44 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1264, allocations: 0 / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.003776/0.1302, allocations: 1.257 MB / 480.9 MB, free: 4.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches