Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 182.5 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.636/1.636, 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.0009785/0.0009786, allocations: 98.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.2341/0.2341, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005164, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.164, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.58, allocations: 88.71 MB / 0.5654 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.5805, allocations: 72.84 kB / 0.5655 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.5954, allocations: 4.266 MB / 0.5696 GB, free: 7.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5955, allocations: 0 / 0.5696 GB, free: 7.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.5955, allocations: 8 kB / 0.5696 GB, free: 7.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008431/0.5964, allocations: 472 kB / 0.5701 GB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5964, allocations: 8.031 kB / 0.5701 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.5965, allocations: 15.81 kB / 0.5701 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.5969, allocations: 232.4 kB / 0.5703 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.5969, allocations: 6.812 kB / 0.5703 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.597, allocations: 11.16 kB / 0.5703 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.5972, allocations: 105.3 kB / 0.5704 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5972, allocations: 3.938 kB / 0.5705 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.5973, allocations: 4 kB / 0.5705 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5973, allocations: 0 / 0.5705 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.5974, allocations: 61.64 kB / 0.5705 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.5981, allocations: 0.5134 MB / 0.571 GB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.5984, allocations: 96.72 kB / 0.5711 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5985, allocations: 4 kB / 0.5711 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.5987, allocations: 86.12 kB / 0.5712 GB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.5987, allocations: 0 / 0.5712 GB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004148/0.5991, allocations: 150.8 kB / 0.5713 GB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.5992, allocations: 51.41 kB / 0.5714 GB, free: 5.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.5993, allocations: 179.9 kB / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5994, allocations: 33.2 kB / 0.5716 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.5995, allocations: 113.7 kB / 0.5717 GB, free: 5.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.5995, allocations: 27.2 kB / 0.5717 GB, free: 5.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.5995, allocations: 7.875 kB / 0.5717 GB, free: 5.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5997, allocations: 322.3 kB / 0.572 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.5998, allocations: 30.23 kB / 0.5721 GB, free: 4.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.5999, allocations: 74.98 kB / 0.5721 GB, free: 4.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.6, allocations: 34.8 kB / 0.5722 GB, free: 4.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6, allocations: 3.938 kB / 0.5722 GB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002735/0.6003, allocations: 143.2 kB / 0.5723 GB, free: 4.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6003, allocations: 4 kB / 0.5723 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6004, allocations: 4 kB / 0.5723 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6004, allocations: 3.953 kB / 0.5723 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6005, allocations: 31.45 kB / 0.5724 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6005, allocations: 7.938 kB / 0.5724 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.6006, allocations: 12.03 kB / 0.5724 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6006, allocations: 4 kB / 0.5724 GB, free: 4.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001124/0.6007, allocations: 142.9 kB / 0.5725 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.6008, allocations: 11.91 kB / 0.5725 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.6011, allocations: 135 kB / 0.5727 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6011, allocations: 4 kB / 0.5727 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6011, allocations: 7.953 kB / 0.5727 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6011, allocations: 3.984 kB / 0.5727 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.6013, allocations: 216.6 kB / 0.5729 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6013, allocations: 3.938 kB / 0.5729 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.6014, allocations: 15.98 kB / 0.5729 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6014, allocations: 0 / 0.5729 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6014, allocations: 4 kB / 0.5729 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6014, allocations: 0 / 0.5729 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6014, allocations: 4 kB / 0.5729 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.6018, allocations: 206.4 kB / 0.5731 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.6019, allocations: 85.05 kB / 0.5732 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.6019, allocations: 3.562 kB / 0.5732 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.602, allocations: 11.98 kB / 0.5732 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.6021, allocations: 12.05 kB / 0.5732 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6021, allocations: 3.625 kB / 0.5732 GB, free: 3.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.6022, allocations: 147.6 kB / 0.5733 GB, free: 3.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6022, allocations: 0 / 0.5733 GB, free: 3.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.6025, allocations: 35.41 kB / 0.5734 GB, free: 3.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.0009778/0.6035, allocations: 418.5 kB / 0.5738 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.6037, allocations: 89.95 kB / 0.5739 GB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6038, allocations: 0 / 0.5739 GB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.6039, allocations: 43.17 kB / 0.5739 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6042, allocations: 42.61 kB / 0.5739 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.6048, allocations: 298.2 kB / 0.5742 GB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.6052, allocations: 0.7242 MB / 0.5749 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.6053, allocations: 17.08 kB / 0.575 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.6053, allocations: 18.75 kB / 0.575 GB, free: 2.027 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6053, allocations: 0 / 0.575 GB, free: 2.027 MB / 378.7 MB Notification: Performance of Templates: time 0.004472/0.6098, allocations: 1.781 MB / 0.5767 GB, free: 260 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches