Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.682/1.682, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008588/0.0008587, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.217/0.217, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5946, allocations: 87.82 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.595, allocations: 80.95 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02075/0.6157, allocations: 7.519 MB / 0.5719 GB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6158, allocations: 0 / 0.5719 GB, free: 5.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.6158, allocations: 7.984 kB / 0.572 GB, free: 5.551 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008254/0.6167, allocations: 0.4982 MB / 0.5724 GB, free: 5.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.6167, allocations: 16.55 kB / 0.5725 GB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.6168, allocations: 27.66 kB / 0.5725 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.6174, allocations: 277.9 kB / 0.5727 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.6174, allocations: 5.375 kB / 0.5728 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.6175, allocations: 5.812 kB / 0.5728 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.6177, allocations: 103.8 kB / 0.5729 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.6178, allocations: 3.938 kB / 0.5729 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6178, allocations: 1.562 kB / 0.5729 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6178, allocations: 4 kB / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.618, allocations: 45.22 kB / 0.5729 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.6185, allocations: 454.7 kB / 0.5733 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.6188, allocations: 124.3 kB / 0.5735 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.6189, allocations: 3.938 kB / 0.5735 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.6191, allocations: 114.6 kB / 0.5736 GB, free: 3.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.6191, allocations: 4 kB / 0.5736 GB, free: 3.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009137/0.62, allocations: 371.5 kB / 0.5739 GB, free: 3.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.6201, allocations: 81.11 kB / 0.574 GB, free: 3.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.6205, allocations: 320.5 kB / 0.5743 GB, free: 3.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.6205, allocations: 29.52 kB / 0.5743 GB, free: 3.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6206, allocations: 140.1 kB / 0.5745 GB, free: 3.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.6207, allocations: 46.42 kB / 0.5745 GB, free: 3.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.6207, allocations: 3.062 kB / 0.5745 GB, free: 3.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.6209, allocations: 340.8 kB / 0.5749 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.621, allocations: 45.03 kB / 0.5749 GB, free: 2.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6211, allocations: 73.34 kB / 0.575 GB, free: 2.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.6213, allocations: 56.62 kB / 0.575 GB, free: 2.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6213, allocations: 4 kB / 0.575 GB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003254/0.6216, allocations: 174.8 kB / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6217, allocations: 7.984 kB / 0.5752 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6217, allocations: 7.938 kB / 0.5752 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6217, allocations: 0 / 0.5752 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.6219, allocations: 42.92 kB / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6219, allocations: 0 / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.622, allocations: 15.31 kB / 0.5753 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.622, allocations: 8.062 kB / 0.5753 GB, free: 2.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001703/0.6222, allocations: 154.7 kB / 0.5754 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.6222, allocations: 27.67 kB / 0.5754 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.6227, allocations: 218.8 kB / 0.5756 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6227, allocations: 7.984 kB / 0.5757 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6227, allocations: 0 / 0.5757 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6227, allocations: 3.984 kB / 0.5757 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.6236, allocations: 0.6633 MB / 0.5763 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.6236, allocations: 0 / 0.5763 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.6237, allocations: 26.67 kB / 0.5763 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6237, allocations: 4 kB / 0.5763 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.6238, allocations: 7.562 kB / 0.5763 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6238, allocations: 0 / 0.5763 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6238, allocations: 4.062 kB / 0.5763 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.6242, allocations: 421.6 kB / 0.5768 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6244, allocations: 112.5 kB / 0.5769 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.6244, allocations: 7.625 kB / 0.5769 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6246, allocations: 7.984 kB / 0.5769 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.6246, allocations: 19.5 kB / 0.5769 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.6246, allocations: 8 kB / 0.5769 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.6249, allocations: 264.4 kB / 0.5772 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6249, allocations: 0 / 0.5772 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.6253, allocations: 43.31 kB / 0.5772 GB, free: 476 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001065/0.6264, allocations: 484.9 kB / 0.5777 GB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.6267, allocations: 131.3 kB / 0.5778 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6267, allocations: 0 / 0.5778 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6269, allocations: 65.72 kB / 0.5778 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.6273, allocations: 42.23 kB / 0.5779 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.6282, allocations: 496.2 kB / 0.5784 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.6287, allocations: 0.7569 MB / 0.5791 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.6288, allocations: 42.16 kB / 0.5791 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.6289, allocations: 30.42 kB / 0.5792 GB, free: 14.54 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6289, allocations: 3.938 kB / 0.5792 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Templates: time 0.006146/0.635, allocations: 2.78 MB / 0.5819 GB, free: 11.78 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches