Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 105.7 kB / 16.64 MB, free: 6.812 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.001333/0.001333, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.585/1.585, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.1969/0.1969, allocations: 43.51 MB / 314.3 MB, free: 0.6992 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.001592/0.001592, allocations: 72.94 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09565, allocations: 57.78 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002727/0.09842, allocations: 1.754 MB / 442.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.09943, allocations: 0.789 MB / 443.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.09953, allocations: 3.938 kB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.09981, allocations: 35.89 kB / 443.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1, allocations: 47.83 kB / 443.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1003, allocations: 79.47 kB / 443.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1004, allocations: 95.7 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.1005, allocations: 12.5 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.1006, allocations: 43.78 kB / 443.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.1006, allocations: 31.8 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1006, allocations: 4 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.1007, allocations: 43.97 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.1008, allocations: 19.92 kB / 443.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1008, allocations: 35.73 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.101, allocations: 83.83 kB / 443.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.101, allocations: 4 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.101, allocations: 4 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.101, allocations: 0 / 443.7 MB, free: 4.242 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.0003886/0.1014, allocations: 414.9 kB / 444.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1014, allocations: 11.89 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1015, allocations: 8.844 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1016, allocations: 205 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1016, allocations: 4.312 kB / 444.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1017, allocations: 12.12 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1018, allocations: 57.66 kB / 444.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1018, allocations: 0 / 444.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1018, allocations: 4 kB / 444.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1018, allocations: 4 kB / 444.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.1019, allocations: 19.92 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.1022, allocations: 292.8 kB / 444.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1023, allocations: 54.67 kB / 444.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.1024, allocations: 20.86 kB / 444.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1024, allocations: 7.984 kB / 444.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1026, allocations: 63.33 kB / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1026, allocations: 0 / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004427/0.103, allocations: 177.3 kB / 445.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1031, allocations: 63.39 kB / 445.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1032, allocations: 186.1 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.1032, allocations: 25.7 kB / 445.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.1032, allocations: 104.1 kB / 445.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1033, allocations: 19.7 kB / 445.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.1033, allocations: 29.66 kB / 445.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.1034, allocations: 326.8 kB / 445.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1034, allocations: 23.98 kB / 445.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.1035, allocations: 33.7 kB / 445.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.868e-05/0.1036, allocations: 65.64 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1036, allocations: 0 / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001419/0.1037, allocations: 97.58 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1037, allocations: 7.938 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1037, allocations: 4 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1038, allocations: 4.031 kB / 446 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.1038, allocations: 12 kB / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1039, allocations: 3.984 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.1039, allocations: 7.938 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1039, allocations: 4 kB / 446.1 MB, free: 1.68 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 5.957e-05/0.104, allocations: 125.8 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.104, allocations: 15.8 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.104, allocations: 12.72 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.104, allocations: 11.94 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1041, allocations: 0 / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1041, allocations: 3.938 kB / 446.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1044, allocations: 391.3 kB / 446.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1044, allocations: 4 kB / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.1044, allocations: 11.92 kB / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1044, allocations: 4 kB / 446.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1044, allocations: 3.938 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1044, allocations: 4.031 kB / 446.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1044, allocations: 4 kB / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1046, allocations: 196.3 kB / 446.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.1046, allocations: 81.02 kB / 446.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1047, allocations: 11.92 kB / 446.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.1047, allocations: 0 / 446.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1048, allocations: 12 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1048, allocations: 7.984 kB / 446.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.1049, allocations: 139.2 kB / 447.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1049, allocations: 0 / 447.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1051, allocations: 31.89 kB / 447.1 MB, free: 0.5156 MB / 318.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.0009099/0.106, allocations: 475.3 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1062, allocations: 63.92 kB / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1062, allocations: 0 / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.1063, allocations: 31.97 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1066, allocations: 31.91 kB / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.107, allocations: 269.1 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1073, allocations: 0.708 MB / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1074, allocations: 19.42 kB / 448.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1074, allocations: 0 / 448.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003244/0.1106, allocations: 1.899 MB / 450.6 MB, free: 13.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches