Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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 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 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 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.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_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_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 96.12 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 176.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2964/0.2964, allocations: 43.54 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 12 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 58.87 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001573/0.1037, allocations: 1.253 MB / 444 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.1042, allocations: 279.9 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.1042, allocations: 4 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1044, allocations: 23.84 kB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1045, allocations: 23.91 kB / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1047, allocations: 63.8 kB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.1048, allocations: 35.97 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.1049, allocations: 11.97 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.1049, allocations: 19.92 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.105, allocations: 23.86 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.105, allocations: 0 / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.1051, allocations: 12 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.1051, allocations: 19.91 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1051, allocations: 33.7 kB / 444.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1052, allocations: 60.08 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1052, allocations: 4 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1052, allocations: 3.984 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1053, allocations: 0 / 444.6 MB, free: 11.2 MB / 382.1 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.0003564/0.1056, allocations: 375 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.1057, allocations: 12.02 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1057, allocations: 15.8 kB / 445 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1058, allocations: 183 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1059, allocations: 4 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1059, allocations: 4 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.106, allocations: 45.69 kB / 445.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.106, allocations: 4 kB / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.106, allocations: 7.938 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1061, allocations: 4 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.1061, allocations: 31.91 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1064, allocations: 272.9 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1066, allocations: 46.55 kB / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1066, allocations: 0 / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1067, allocations: 38.52 kB / 445.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.1067, allocations: 7.938 kB / 445.6 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004797/0.1072, allocations: 149.4 kB / 445.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1072, allocations: 55.41 kB / 445.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1073, allocations: 169.8 kB / 446 MB, free: 9.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1074, allocations: 25.7 kB / 446 MB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.1074, allocations: 100.1 kB / 446.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1074, allocations: 23.66 kB / 446.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1075, allocations: 0 / 446.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.1075, allocations: 322.8 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.1076, allocations: 19.98 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.1077, allocations: 23.98 kB / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.1078, allocations: 19.98 kB / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1078, allocations: 0 / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.1079, allocations: 97.53 kB / 446.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.108, allocations: 4 kB / 446.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.108, allocations: 0 / 446.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.108, allocations: 0 / 446.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.108, allocations: 19.92 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1081, allocations: 0 / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.1081, allocations: 8 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1081, allocations: 4 kB / 446.7 MB, free: 8.93 MB / 382.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 (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.426e-05/0.1082, allocations: 121.8 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1082, allocations: 11.86 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.1084, allocations: 93.97 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1085, allocations: 8 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1085, allocations: 0 / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1085, allocations: 0 / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.1088, allocations: 354.8 kB / 447.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1088, allocations: 0 / 447.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.1089, allocations: 23.92 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1089, allocations: 0 / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1089, allocations: 4 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1089, allocations: 0 / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1089, allocations: 0 / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1091, allocations: 195.3 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1092, allocations: 85.02 kB / 447.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1092, allocations: 0 / 447.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.1093, allocations: 7.984 kB / 447.5 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1093, allocations: 4 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1093, allocations: 0 / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.1094, allocations: 138.6 kB / 447.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1094, allocations: 0 / 447.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1097, allocations: 19.98 kB / 447.7 MB, free: 7.781 MB / 382.1 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.000776/0.1105, allocations: 393.5 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1106, allocations: 51.97 kB / 448.1 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1107, allocations: 7.938 kB / 448.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.1107, allocations: 31.97 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1109, allocations: 11.95 kB / 448.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.1113, allocations: 205.5 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1115, allocations: 0.7043 MB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.1115, allocations: 4 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.1116, allocations: 11.44 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1116, allocations: 0 / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of Templates: time 0.003013/0.1146, allocations: 1.018 MB / 450.1 MB, free: 5.332 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches