Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 181.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.748/1.748, 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.0008208/0.0008209, allocations: 86.88 kB / 270.2 MB, free: 13.37 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.1984/0.1984, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003827, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 58.86 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.6042, allocations: 87.54 MB / 0.5643 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6046, allocations: 75.95 kB / 0.5643 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.6197, allocations: 5.543 MB / 0.5697 GB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6198, allocations: 0 / 0.5697 GB, free: 7.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.6198, allocations: 0 / 0.5697 GB, free: 7.562 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000608/0.6204, allocations: 436.8 kB / 0.5702 GB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6205, allocations: 12.03 kB / 0.5702 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.6206, allocations: 11.81 kB / 0.5702 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.6209, allocations: 229.6 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.621, allocations: 4 kB / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.621, allocations: 0 / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.6211, allocations: 52.48 kB / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6212, allocations: 0 / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6212, allocations: 0 / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6212, allocations: 0 / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.6213, allocations: 19.23 kB / 0.5705 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.6216, allocations: 197.3 kB / 0.5707 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.6218, allocations: 57.61 kB / 0.5707 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.6218, allocations: 4 kB / 0.5707 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.622, allocations: 61.23 kB / 0.5708 GB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.622, allocations: 3.938 kB / 0.5708 GB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003042/0.6223, allocations: 102.8 kB / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.6223, allocations: 55.41 kB / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.6226, allocations: 236.5 kB / 0.5712 GB, free: 6.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.6226, allocations: 25.7 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.6227, allocations: 110.4 kB / 0.5713 GB, free: 5.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.6227, allocations: 18.84 kB / 0.5713 GB, free: 5.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.6227, allocations: 0 / 0.5713 GB, free: 5.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6229, allocations: 329.4 kB / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.6229, allocations: 21.98 kB / 0.5716 GB, free: 5.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.623, allocations: 24.78 kB / 0.5717 GB, free: 5.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.6231, allocations: 22.61 kB / 0.5717 GB, free: 5.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6231, allocations: 7.953 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001503/0.6232, allocations: 83.09 kB / 0.5718 GB, free: 5.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6232, allocations: 6.656 kB / 0.5718 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6233, allocations: 0 / 0.5718 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6233, allocations: 0 / 0.5718 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.6234, allocations: 19.92 kB / 0.5718 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.6234, allocations: 4.031 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.6234, allocations: 11.78 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.6235, allocations: 0 / 0.5718 GB, free: 5.387 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 (7): * Single equations (assignments): 7 * 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.0001187/0.6236, allocations: 136.9 kB / 0.5719 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.6236, allocations: 11.86 kB / 0.572 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.6238, allocations: 108.3 kB / 0.5721 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6239, allocations: 0 / 0.5721 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6239, allocations: 3.938 kB / 0.5721 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6239, allocations: 4 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.6241, allocations: 207.4 kB / 0.5723 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6241, allocations: 3.984 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.6241, allocations: 7.953 kB / 0.5723 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6241, allocations: 3.984 kB / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6241, allocations: 4 kB / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6241, allocations: 3.984 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6241, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.6243, allocations: 117.5 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.6244, allocations: 100.2 kB / 0.5725 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.6245, allocations: 3.953 kB / 0.5725 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.6245, allocations: 4 kB / 0.5725 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.6246, allocations: 3.984 kB / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.6246, allocations: 4.188 kB / 0.5725 GB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.6248, allocations: 208.3 kB / 0.5727 GB, free: 4.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6248, allocations: 0 / 0.5727 GB, free: 4.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000212/0.625, allocations: 23.25 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001002/0.626, allocations: 420.9 kB / 0.5731 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.6262, allocations: 41.98 kB / 0.5732 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6262, allocations: 0 / 0.5732 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.6263, allocations: 27.05 kB / 0.5732 GB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.6265, allocations: 19.67 kB / 0.5732 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.627, allocations: 285.6 kB / 0.5735 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6273, allocations: 0.7218 MB / 0.5742 GB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.6274, allocations: 21.75 kB / 0.5742 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.6274, allocations: 16.55 kB / 0.5742 GB, free: 2.945 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6274, allocations: 4 kB / 0.5742 GB, free: 2.941 MB / 378.7 MB Notification: Performance of Templates: time 0.004386/0.6318, allocations: 1.596 MB / 0.5758 GB, free: 1.355 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches