Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 113.5 kB / 17.08 MB, free: 6.008 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.001659/0.001659, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1912/0.1912, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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.00145/0.00145, allocations: 71.91 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09295, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002781/0.09577, allocations: 1.697 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.09691, allocations: 0.8 MB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.09698, allocations: 0 / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.09727, allocations: 51.75 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.09746, allocations: 63.69 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.0977, allocations: 91.69 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.09787, allocations: 107.8 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.09796, allocations: 24.2 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.09806, allocations: 51.77 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.09814, allocations: 43.78 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.09818, allocations: 4 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.09828, allocations: 47.97 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.09834, allocations: 31.86 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.0984, allocations: 43.72 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.09858, allocations: 119.7 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.0986, allocations: 0 / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.0986, allocations: 4 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.09862, allocations: 4 kB / 0.4917 GB, free: 8.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004743/0.0991, allocations: 426.2 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.09914, allocations: 11.89 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.09919, allocations: 12.75 kB / 0.4921 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.09943, allocations: 220.8 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.09945, allocations: 8.359 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.09948, allocations: 8.125 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.09964, allocations: 73.64 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.09966, allocations: 0 / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.09967, allocations: 3.938 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.09968, allocations: 0 / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.09978, allocations: 43.97 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1002, allocations: 300.8 kB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1004, allocations: 86.66 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.1004, allocations: 28.8 kB / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1005, allocations: 3.984 kB / 0.4929 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1006, allocations: 71.47 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1006, allocations: 0 / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005729/0.1012, allocations: 233.3 kB / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1013, allocations: 55.41 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1014, allocations: 183.3 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1014, allocations: 25.7 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1015, allocations: 112.1 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1016, allocations: 27.56 kB / 0.4936 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.1016, allocations: 25.7 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1017, allocations: 326.8 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.1018, allocations: 36.02 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.1019, allocations: 53.58 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.102, allocations: 77.7 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.102, allocations: 0 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002088/0.1022, allocations: 125.5 kB / 0.4942 GB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1023, allocations: 4 kB / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1023, allocations: 3.938 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1023, allocations: 4.031 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.1024, allocations: 23.98 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1024, allocations: 4 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.1025, allocations: 3.938 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1025, allocations: 4 kB / 0.4942 GB, free: 5.742 MB / 382.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 (12): * Single equations (assignments): 12 * 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 8.847e-05/0.1026, allocations: 133.8 kB / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1026, allocations: 11.81 kB / 0.4944 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1026, allocations: 21.39 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1027, allocations: 4 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1027, allocations: 0 / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1027, allocations: 3.938 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1031, allocations: 435.2 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1031, allocations: 0 / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1032, allocations: 8 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.1032, allocations: 8.125 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1032, allocations: 3.984 kB / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1032, allocations: 3.938 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1032, allocations: 8.031 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1035, allocations: 224.1 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.1035, allocations: 89 kB / 0.4951 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1036, allocations: 7.938 kB / 0.4951 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.1036, allocations: 0 / 0.4951 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1037, allocations: 19.91 kB / 0.4951 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1037, allocations: 11.94 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1038, allocations: 140.9 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1038, allocations: 0 / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1041, allocations: 28 kB / 0.4953 GB, free: 4.492 MB / 382.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 (10): * Single equations (assignments): 8 * 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.0009819/0.1051, allocations: 462.6 kB / 0.4958 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1053, allocations: 79.91 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1053, allocations: 192 / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1054, allocations: 43.86 kB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1057, allocations: 35.83 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1062, allocations: 276.7 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1065, allocations: 0.7123 MB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1065, allocations: 19.44 kB / 0.4969 GB, free: 2.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1065, allocations: 0 / 0.4969 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Templates: time 0.003578/0.1101, allocations: 2.12 MB / 0.499 GB, free: 0.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches