Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 102.1 kB / 16.94 MB, free: 6.184 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.001375/0.001375, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.395/1.395, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.001433/0.001433, allocations: 66.7 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.0957, allocations: 57.79 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002744/0.09848, allocations: 1.695 MB / 442.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.09953, allocations: 0.7961 MB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.09962, allocations: 4 kB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.09992, allocations: 51.77 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1001, allocations: 55.75 kB / 443.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1004, allocations: 83.75 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1005, allocations: 95.7 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.1006, allocations: 8.516 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.1007, allocations: 43.78 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.1008, allocations: 35.78 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1008, allocations: 4 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.1009, allocations: 39.98 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.1009, allocations: 31.91 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.101, allocations: 31.75 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1012, allocations: 115.6 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1012, allocations: 0 / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1012, allocations: 8 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1012, allocations: 0 / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004688/0.1017, allocations: 426.8 kB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1017, allocations: 11.89 kB / 444.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1018, allocations: 8.844 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.102, allocations: 219.9 kB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.102, allocations: 4.375 kB / 444.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.102, allocations: 4.125 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1022, allocations: 61.61 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1022, allocations: 4 kB / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1022, allocations: 0 / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1022, allocations: 7.984 kB / 445 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/0.1023, allocations: 23.94 kB / 445 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1026, allocations: 284.9 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1028, allocations: 58.69 kB / 445.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.1028, allocations: 24.83 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1028, allocations: 7.938 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.103, allocations: 67.33 kB / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.103, allocations: 0 / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.1035, allocations: 177.1 kB / 445.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.1036, allocations: 55.41 kB / 445.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1037, allocations: 226.6 kB / 445.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1037, allocations: 25.7 kB / 445.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1038, allocations: 112.1 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1038, allocations: 27.64 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1039, allocations: 25.7 kB / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.1039, allocations: 330.8 kB / 446.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.104, allocations: 19.98 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.104, allocations: 33.72 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1041, allocations: 61.64 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1042, allocations: 0 / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.1043, allocations: 101.5 kB / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1043, allocations: 7.938 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1043, allocations: 0 / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1044, allocations: 8.031 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.1044, allocations: 12 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1045, allocations: 0 / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.1045, allocations: 15.92 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1045, allocations: 0 / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.108e-05/0.1046, allocations: 133.8 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.1046, allocations: 11.91 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.1047, allocations: 13.41 kB / 446.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1047, allocations: 8 kB / 446.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1047, allocations: 0 / 446.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1047, allocations: 7.875 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.105, allocations: 399.2 kB / 447.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.105, allocations: 384 / 447.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.1051, allocations: 11.94 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1051, allocations: 8 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1051, allocations: 3.938 kB / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1051, allocations: 32 / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1051, allocations: 7.984 kB / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.1053, allocations: 200.5 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.1053, allocations: 84.92 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1053, allocations: 11.88 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.1054, allocations: 4 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1054, allocations: 11.98 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1055, allocations: 4 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1056, allocations: 171.2 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1056, allocations: 0 / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1059, allocations: 27.98 kB / 447.8 MB, free: 15.93 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001058/0.1069, allocations: 474.5 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1071, allocations: 63.89 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1071, allocations: 0 / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.1072, allocations: 31.98 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1076, allocations: 25.19 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.1081, allocations: 284.9 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1085, allocations: 0.7119 MB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1085, allocations: 15.44 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1085, allocations: 0 / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Templates: time 0.00378/0.1123, allocations: 1.974 MB / 451.3 MB, free: 12.41 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches