Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.676/1.676, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0008036/0.0008038, allocations: 85 kB / 271.9 MB, free: 8.254 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.3843/0.3843, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 12 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 58.84 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4993, allocations: 87.76 MB / 0.5656 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4995, allocations: 75.94 kB / 0.5657 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.514, allocations: 5.432 MB / 0.571 GB, free: 9.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.514, allocations: 0 / 0.571 GB, free: 9.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.5141, allocations: 4 kB / 0.571 GB, free: 9.164 MB / 394.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.0006006/0.5147, allocations: 422.5 kB / 0.5714 GB, free: 8.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5147, allocations: 8.031 kB / 0.5714 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.5148, allocations: 20.75 kB / 0.5714 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5152, allocations: 216.7 kB / 0.5717 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5152, allocations: 384 / 0.5717 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.5152, allocations: 4.375 kB / 0.5717 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.5154, allocations: 57.48 kB / 0.5717 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5154, allocations: 192 / 0.5717 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5154, allocations: 7.922 kB / 0.5717 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5154, allocations: 0 / 0.5717 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.5155, allocations: 27.92 kB / 0.5717 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.516, allocations: 292.9 kB / 0.572 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.5162, allocations: 62.61 kB / 0.5721 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.5162, allocations: 20.84 kB / 0.5721 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.5163, allocations: 0 / 0.5721 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5164, allocations: 80.11 kB / 0.5722 GB, free: 7.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.5164, allocations: 0 / 0.5722 GB, free: 7.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.517, allocations: 177.2 kB / 0.5724 GB, free: 7.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5171, allocations: 59.34 kB / 0.5724 GB, free: 7.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.5173, allocations: 197.7 kB / 0.5726 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5174, allocations: 29.7 kB / 0.5726 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.5174, allocations: 100.1 kB / 0.5727 GB, free: 7.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.5175, allocations: 31.64 kB / 0.5728 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5175, allocations: 0 / 0.5728 GB, free: 7.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5177, allocations: 329.2 kB / 0.5731 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.5177, allocations: 23.98 kB / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.5178, allocations: 33.7 kB / 0.5731 GB, free: 6.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.5179, allocations: 65.64 kB / 0.5732 GB, free: 6.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.518, allocations: 4 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.5181, allocations: 93.58 kB / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5182, allocations: 8 kB / 0.5733 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5182, allocations: 4.359 kB / 0.5733 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5182, allocations: 0 / 0.5733 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.5183, allocations: 19.94 kB / 0.5733 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5183, allocations: 8 kB / 0.5733 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.5184, allocations: 0 / 0.5733 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.5184, allocations: 7.984 kB / 0.5733 GB, free: 6.574 MB / 394.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 0.0001284/0.5185, allocations: 144.7 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.5186, allocations: 11.81 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.5189, allocations: 119.2 kB / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5189, allocations: 4.078 kB / 0.5736 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5189, allocations: 3.938 kB / 0.5736 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5189, allocations: 4 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.5195, allocations: 419.4 kB / 0.574 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5195, allocations: 0 / 0.574 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.5195, allocations: 11.98 kB / 0.574 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5195, allocations: 7.938 kB / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5196, allocations: 0 / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5196, allocations: 0 / 0.574 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.5196, allocations: 7.938 kB / 0.574 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.5198, allocations: 212.2 kB / 0.5742 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.5199, allocations: 93 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5199, allocations: 4 kB / 0.5743 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.52, allocations: 4 kB / 0.5743 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.5201, allocations: 15.86 kB / 0.5743 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.5201, allocations: 4 kB / 0.5743 GB, free: 5.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.5202, allocations: 152.9 kB / 0.5745 GB, free: 5.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5202, allocations: 0 / 0.5745 GB, free: 5.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.5205, allocations: 39.92 kB / 0.5745 GB, free: 5.234 MB / 394.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 (9): * Single equations (assignments): 7 * 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.0009656/0.5215, allocations: 465.9 kB / 0.575 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.5216, allocations: 71.84 kB / 0.575 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5217, allocations: 0 / 0.575 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.5217, allocations: 31.92 kB / 0.5751 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.5221, allocations: 25.02 kB / 0.5751 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.5225, allocations: 290.2 kB / 0.5754 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5228, allocations: 0.7004 MB / 0.5761 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.5229, allocations: 23.42 kB / 0.5761 GB, free: 3.688 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5229, allocations: 0 / 0.5761 GB, free: 3.688 MB / 394.7 MB Notification: Performance of Templates: time 0.003475/0.5264, allocations: 1.958 MB / 0.578 GB, free: 1.746 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches