Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008745/0.0008744, allocations: 78.23 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.513e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5743, allocations: 86.95 MB / 0.5509 GB, free: 7.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.5747, allocations: 79.14 kB / 0.5509 GB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.5877, allocations: 5.338 MB / 0.5561 GB, free: 3.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5877, allocations: 4 kB / 0.5561 GB, free: 3.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.5878, allocations: 7.938 kB / 0.5562 GB, free: 3.703 MB / 362.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.0004104/0.5882, allocations: 381.1 kB / 0.5565 GB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5882, allocations: 12.03 kB / 0.5565 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.5883, allocations: 11.84 kB / 0.5565 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.5885, allocations: 217.6 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5886, allocations: 0.75 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.5886, allocations: 4 kB / 0.5568 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.962e-05/0.5887, allocations: 22.42 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.5888, allocations: 52.92 kB / 0.5568 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5888, allocations: 0 / 0.5568 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5888, allocations: 4 kB / 0.5568 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5888, allocations: 0 / 0.5568 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.5892, allocations: 266.7 kB / 0.5571 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.5893, allocations: 56.44 kB / 0.5571 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.5893, allocations: 20.55 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.5893, allocations: 0 / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.5895, allocations: 64.89 kB / 0.5572 GB, free: 2.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.5895, allocations: 0 / 0.5572 GB, free: 2.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004626/0.5899, allocations: 149.2 kB / 0.5574 GB, free: 2.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.59, allocations: 55.34 kB / 0.5574 GB, free: 2.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.5902, allocations: 178.3 kB / 0.5576 GB, free: 2.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5902, allocations: 29.69 kB / 0.5576 GB, free: 2.145 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.5902, allocations: 95.39 kB / 0.5577 GB, free: 2.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.5903, allocations: 23.52 kB / 0.5577 GB, free: 2.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5903, allocations: 0 / 0.5577 GB, free: 2.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.5903, allocations: 322.6 kB / 0.558 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.5904, allocations: 19.56 kB / 0.5581 GB, free: 1.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.5904, allocations: 33.28 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.5905, allocations: 23.8 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5905, allocations: 0 / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.5906, allocations: 96.48 kB / 0.5582 GB, free: 1.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5906, allocations: 4 kB / 0.5582 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5906, allocations: 0 / 0.5582 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5906, allocations: 7.984 kB / 0.5582 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.5907, allocations: 15.94 kB / 0.5582 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5908, allocations: 0 / 0.5582 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.5908, allocations: 8.031 kB / 0.5582 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.5908, allocations: 7.953 kB / 0.5582 GB, free: 1.535 MB / 362.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 () * 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 6.303e-05/0.5909, allocations: 105 kB / 0.5583 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.5909, allocations: 11.91 kB / 0.5584 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5911, allocations: 116.9 kB / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5911, allocations: 0 / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5911, allocations: 0 / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5911, allocations: 0 / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.5914, allocations: 386.2 kB / 0.5588 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5915, allocations: 0 / 0.5588 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.5915, allocations: 11.98 kB / 0.5588 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5915, allocations: 3.938 kB / 0.5588 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5915, allocations: 4 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5915, allocations: 0 / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5915, allocations: 0 / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.5917, allocations: 217.3 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.5918, allocations: 100.9 kB / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5918, allocations: 0 / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.5919, allocations: 4 kB / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.5919, allocations: 20 kB / 0.5592 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.5919, allocations: 4 kB / 0.5592 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.592, allocations: 142.4 kB / 0.5593 GB, free: 440 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5921, allocations: 4 kB / 0.5593 GB, free: 436 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.5923, allocations: 28 kB / 0.5593 GB, free: 408 kB / 362.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) * 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.0009042/0.5932, allocations: 384.9 kB / 0.5597 GB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5934, allocations: 55.34 kB / 0.5598 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5934, allocations: 0 / 0.5598 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.5934, allocations: 27.44 kB / 0.5598 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5937, allocations: 19.92 kB / 0.5598 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.5941, allocations: 176 kB / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5944, allocations: 0.7041 MB / 0.5607 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.5945, allocations: 16.86 kB / 0.5607 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.5946, allocations: 19.42 kB / 0.5607 GB, free: 15.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5946, allocations: 0 / 0.5607 GB, free: 15.05 MB / 378.7 MB Notification: Performance of Templates: time 0.004387/0.599, allocations: 1.619 MB / 0.5623 GB, free: 13.45 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches