Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003224/0.003224, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 88.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2861/0.2861, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.128e-05, allocations: 8 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4037, allocations: 58.86 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5659, allocations: 86.96 MB / 0.5508 GB, free: 12.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5662, allocations: 79.45 kB / 0.5509 GB, free: 12.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02373/0.59, allocations: 5.337 MB / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.59, allocations: 0 / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5901, allocations: 3.938 kB / 0.5561 GB, free: 6.949 MB / 395.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.0005641/0.5906, allocations: 398.2 kB / 0.5565 GB, free: 6.516 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5907, allocations: 8.031 kB / 0.5565 GB, free: 6.508 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.5908, allocations: 7.906 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.5912, allocations: 217.6 kB / 0.5567 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5912, allocations: 7.984 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5912, allocations: 0 / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.438e-05/0.5913, allocations: 16 kB / 0.5567 GB, free: 6.227 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5915, allocations: 57.67 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5915, allocations: 0 / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5915, allocations: 0 / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5915, allocations: 3.938 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.592, allocations: 265.5 kB / 0.5571 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.5922, allocations: 46.69 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.5922, allocations: 20.98 kB / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5923, allocations: 4 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.5924, allocations: 67.33 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5924, allocations: 0 / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005426/0.593, allocations: 141.2 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.5931, allocations: 67.31 kB / 0.5574 GB, free: 5.48 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.5933, allocations: 166.2 kB / 0.5576 GB, free: 5.312 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.5933, allocations: 33.7 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.5934, allocations: 162.6 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.5935, allocations: 19.72 kB / 0.5578 GB, free: 5.094 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.5935, allocations: 0 / 0.5578 GB, free: 5.094 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5936, allocations: 314.8 kB / 0.5581 GB, free: 4.777 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.5937, allocations: 23.94 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.5938, allocations: 29.72 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.5939, allocations: 19.98 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5939, allocations: 8 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.5941, allocations: 77.59 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5941, allocations: 11.94 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5942, allocations: 3.984 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5942, allocations: 0 / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5943, allocations: 12 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.5944, allocations: 4 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.5944, allocations: 192 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.5945, allocations: 15.94 kB / 0.5583 GB, free: 4.562 MB / 395.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 9.016e-05/0.5946, allocations: 113 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5946, allocations: 7.906 kB / 0.5584 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.5949, allocations: 110.2 kB / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5949, allocations: 0 / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.595, allocations: 0 / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.595, allocations: 0 / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.5955, allocations: 387.8 kB / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5956, allocations: 0 / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.5957, allocations: 15.97 kB / 0.5589 GB, free: 3.883 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5957, allocations: 4 kB / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5957, allocations: 0 / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5957, allocations: 0 / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.5957, allocations: 7.938 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.5961, allocations: 214.2 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.5962, allocations: 93 kB / 0.5592 GB, free: 3.527 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.5962, allocations: 0 / 0.5592 GB, free: 3.527 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5963, allocations: 4 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.5964, allocations: 19.81 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.5964, allocations: 4 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.5966, allocations: 140.1 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5966, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.597, allocations: 35.91 kB / 0.5594 GB, free: 3.328 MB / 395.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) * 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.001156/0.5982, allocations: 392.1 kB / 0.5597 GB, free: 2.98 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5984, allocations: 59.86 kB / 0.5598 GB, free: 2.922 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5984, allocations: 4 kB / 0.5598 GB, free: 2.918 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.5985, allocations: 23.94 kB / 0.5598 GB, free: 2.895 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.5988, allocations: 23.84 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.5994, allocations: 198.9 kB / 0.56 GB, free: 2.637 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.5998, allocations: 0.712 MB / 0.5607 GB, free: 1.898 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.5998, allocations: 15.44 kB / 0.5607 GB, free: 1.883 MB / 395.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5999, allocations: 0 / 0.5607 GB, free: 1.883 MB / 395.1 MB Notification: Performance of Templates: time 0.005649/0.6055, allocations: 1.921 MB / 0.5626 GB, free: 15.96 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches