Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001238, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.717/1.717, 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.0008992/0.0008992, allocations: 98.84 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.2225/0.2225, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 15.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 58.84 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5814, allocations: 87.69 MB / 0.5644 GB, free: 12.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5818, allocations: 79.58 kB / 0.5645 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.5963, allocations: 5.318 MB / 0.5697 GB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5963, allocations: 0 / 0.5697 GB, free: 7.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.5963, allocations: 4 kB / 0.5697 GB, free: 7.609 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.00049/0.5968, allocations: 425.2 kB / 0.5701 GB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5969, allocations: 8.031 kB / 0.5701 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.5969, allocations: 11.81 kB / 0.5701 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.5972, allocations: 226.7 kB / 0.5703 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5972, allocations: 7.984 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.5972, allocations: 3.688 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.5974, allocations: 56.36 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5974, allocations: 0 / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5974, allocations: 4 kB / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5974, allocations: 0 / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.5975, allocations: 23.3 kB / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.5979, allocations: 298.3 kB / 0.5707 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.5981, allocations: 56.75 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.5981, allocations: 3.938 kB / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.5983, allocations: 74.5 kB / 0.5708 GB, free: 6.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.025e-06/0.5983, allocations: 4 kB / 0.5708 GB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005243/0.5988, allocations: 187 kB / 0.571 GB, free: 6.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.5988, allocations: 55.36 kB / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.599, allocations: 178 kB / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.5991, allocations: 32.2 kB / 0.5712 GB, free: 5.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.5991, allocations: 97.02 kB / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.5991, allocations: 27.33 kB / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.5992, allocations: 3.5 kB / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5993, allocations: 326.1 kB / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.5993, allocations: 23.23 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.5994, allocations: 36.52 kB / 0.5717 GB, free: 5.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.5995, allocations: 19.38 kB / 0.5717 GB, free: 5.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5995, allocations: 0 / 0.5717 GB, free: 5.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.5996, allocations: 103.7 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5997, allocations: 7.438 kB / 0.5719 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5997, allocations: 4.031 kB / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5997, allocations: 7.984 kB / 0.5719 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.5998, allocations: 15.98 kB / 0.5719 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5998, allocations: 3.938 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.5999, allocations: 11.58 kB / 0.5719 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5999, allocations: 4 kB / 0.5719 GB, free: 5.285 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 9.277e-05/0.6, allocations: 128.9 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.6, allocations: 15.81 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.6002, allocations: 127.2 kB / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6003, allocations: 0 / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6003, allocations: 0 / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6003, allocations: 0 / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.6007, allocations: 419.2 kB / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6007, allocations: 0 / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.6008, allocations: 8 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6008, allocations: 384 / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6008, allocations: 8.031 kB / 0.5726 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6008, allocations: 7.953 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6008, allocations: 0 / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.601, allocations: 229.8 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.6011, allocations: 89.02 kB / 0.5729 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.6012, allocations: 9.938 kB / 0.5729 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.6012, allocations: 8.938 kB / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.6013, allocations: 8.859 kB / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.6013, allocations: 4 kB / 0.5729 GB, free: 4.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.6014, allocations: 154.8 kB / 0.5731 GB, free: 4.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6014, allocations: 3.938 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000257/0.6017, allocations: 31.38 kB / 0.5731 GB, free: 4.055 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 (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.0009736/0.6027, allocations: 475 kB / 0.5735 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.6029, allocations: 71.39 kB / 0.5736 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6029, allocations: 0 / 0.5736 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.603, allocations: 30.67 kB / 0.5736 GB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.6032, allocations: 30.95 kB / 0.5737 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.6036, allocations: 259.7 kB / 0.5739 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6039, allocations: 0.7115 MB / 0.5746 GB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.604, allocations: 8.562 kB / 0.5746 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.604, allocations: 19.42 kB / 0.5746 GB, free: 2.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.604, allocations: 0 / 0.5746 GB, free: 2.523 MB / 378.7 MB Notification: Performance of Templates: time 0.004013/0.608, allocations: 1.698 MB / 0.5763 GB, free: 0.8398 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches