Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009767/0.0009768, allocations: 172.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007913, allocations: 88.67 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2961/0.2961, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09633, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001819/0.0982, allocations: 1.405 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.09925, allocations: 0.7383 MB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.09932, allocations: 7.938 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.09957, allocations: 31.89 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.09974, allocations: 39.84 kB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.09997, allocations: 75.84 kB / 493.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1001, allocations: 87.69 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.1002, allocations: 8.219 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.1003, allocations: 35.8 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.1004, allocations: 35.84 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1004, allocations: 0 / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.1005, allocations: 31.98 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.1005, allocations: 23.86 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1006, allocations: 49.5 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1007, allocations: 80.11 kB / 493.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1007, allocations: 0 / 493.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1008, allocations: 4 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1008, allocations: 0 / 493.5 MB, free: 8.227 MB / 378.7 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.0004234/0.1012, allocations: 387.2 kB / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1012, allocations: 8.031 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1013, allocations: 12.84 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1015, allocations: 200.7 kB / 494.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1015, allocations: 7.875 kB / 494.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1015, allocations: 7.984 kB / 494.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1017, allocations: 57.61 kB / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1017, allocations: 0 / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1017, allocations: 0 / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1017, allocations: 0 / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.1018, allocations: 27.98 kB / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1021, allocations: 280.9 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1023, allocations: 54.62 kB / 494.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.1023, allocations: 24.84 kB / 494.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1023, allocations: 4 kB / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.1025, allocations: 67.3 kB / 494.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1025, allocations: 0 / 494.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004667/0.103, allocations: 169.2 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.103, allocations: 63.28 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1032, allocations: 158.4 kB / 495 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1032, allocations: 25.7 kB / 495 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1032, allocations: 100.1 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1033, allocations: 27.64 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.1033, allocations: 0 / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1034, allocations: 326.8 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.1035, allocations: 19.92 kB / 495.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.1035, allocations: 33.72 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1036, allocations: 65.69 kB / 495.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1036, allocations: 0 / 495.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001664/0.1038, allocations: 97.52 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1038, allocations: 8 kB / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1038, allocations: 0 / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1039, allocations: 3.938 kB / 495.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.1039, allocations: 12 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.104, allocations: 4 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.104, allocations: 8.016 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.104, allocations: 8.156 kB / 495.7 MB, free: 5.77 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.1041, allocations: 121.8 kB / 495.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1041, allocations: 11.81 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1042, allocations: 25 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1042, allocations: 0 / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1042, allocations: 0 / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1042, allocations: 7.922 kB / 495.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.1046, allocations: 399.3 kB / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1046, allocations: 0 / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.1046, allocations: 8 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1047, allocations: 4 kB / 496.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1047, allocations: 0 / 496.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1047, allocations: 3.984 kB / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1047, allocations: 0 / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1049, allocations: 208.2 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1049, allocations: 85.02 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.105, allocations: 4 kB / 496.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.105, allocations: 7.984 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1051, allocations: 4.188 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1051, allocations: 4 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.1052, allocations: 127.9 kB / 496.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1052, allocations: 0 / 496.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.1054, allocations: 31.98 kB / 496.7 MB, free: 4.633 MB / 378.7 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 (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.0008868/0.1063, allocations: 467.8 kB / 497.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1065, allocations: 63.84 kB / 497.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1065, allocations: 0 / 497.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.1066, allocations: 35.92 kB / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1069, allocations: 23.97 kB / 497.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.1073, allocations: 243.8 kB / 497.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1075, allocations: 0.6965 MB / 498.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.1076, allocations: 23.42 kB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1076, allocations: 0 / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of Templates: time 0.003018/0.1106, allocations: 1.832 MB / 0.4884 GB, free: 1.258 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches