Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001533, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001782/0.001782, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.398/1.398, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 58.84 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09871, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00282/0.1016, allocations: 1.6 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007296/0.1023, allocations: 427.1 kB / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.1024, allocations: 0 / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.1026, allocations: 31.83 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1028, allocations: 39.78 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1031, allocations: 98.94 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1032, allocations: 75.83 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1033, allocations: 23.98 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.1034, allocations: 31.91 kB / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1035, allocations: 31.86 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1035, allocations: 4 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1036, allocations: 47.91 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1036, allocations: 23.92 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1037, allocations: 31.73 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1038, allocations: 99.98 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1038, allocations: 0 / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1039, allocations: 4 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1039, allocations: 0 / 472.5 MB, free: 11.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000434/0.1043, allocations: 399.1 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1043, allocations: 12.03 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1044, allocations: 8.844 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1046, allocations: 200 kB / 473.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1046, allocations: 8.375 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1046, allocations: 4.375 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1048, allocations: 73.8 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1048, allocations: 0 / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1048, allocations: 0 / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1048, allocations: 4 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1049, allocations: 43.95 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1054, allocations: 320.6 kB / 473.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1055, allocations: 66.55 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.1056, allocations: 20.86 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1056, allocations: 3.984 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1057, allocations: 34.55 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 4.649e-06/0.1057, allocations: 4 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009953/0.1067, allocations: 293.1 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1067, allocations: 51.41 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1069, allocations: 160.3 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1069, allocations: 25.7 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1069, allocations: 104 kB / 474.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.107, allocations: 43.45 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.107, allocations: 25.7 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1071, allocations: 326.8 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.1072, allocations: 31.98 kB / 474.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.1073, allocations: 35.97 kB / 474.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1075, allocations: 92.77 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1075, allocations: 4 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002422/0.1078, allocations: 136.2 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1078, allocations: 8 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1078, allocations: 0 / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1078, allocations: 3.938 kB / 475 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.108, allocations: 23.98 kB / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.108, allocations: 0 / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.108, allocations: 4 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.108, allocations: 12 kB / 475 MB, free: 9.043 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 (13): * Single equations (assignments): 13 * 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 9.963e-05/0.1081, allocations: 125.9 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1082, allocations: 11.84 kB / 475.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.1085, allocations: 163.1 kB / 475.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1085, allocations: 0 / 475.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1085, allocations: 8 kB / 475.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1086, allocations: 0 / 475.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.1091, allocations: 471 kB / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1091, allocations: 0 / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/0.1092, allocations: 31.92 kB / 475.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1093, allocations: 0 / 475.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1093, allocations: 4 kB / 475.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1093, allocations: 4.031 kB / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1093, allocations: 0 / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1096, allocations: 232.2 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.1096, allocations: 92.94 kB / 476.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1096, allocations: 4 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1097, allocations: 8 kB / 476.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1098, allocations: 11.98 kB / 476.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1098, allocations: 4 kB / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.1099, allocations: 119.2 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1099, allocations: 0 / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1101, allocations: 27.91 kB / 476.3 MB, free: 7.637 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 (13): * Single equations (assignments): 13 * 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.001013/0.1111, allocations: 464.3 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1114, allocations: 107.8 kB / 476.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1114, allocations: 0 / 476.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1115, allocations: 59.98 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1119, allocations: 14.33 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.1124, allocations: 272.6 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1127, allocations: 0.7041 MB / 477.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.1128, allocations: 19.44 kB / 477.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1128, allocations: 0 / 477.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of Templates: time 0.00342/0.1162, allocations: 1.864 MB / 479.8 MB, free: 4.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches