Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.71/1.71, 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.0009438/0.0009437, allocations: 82.62 kB / 261.8 MB, free: 1.676 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.2294/0.2294, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.419e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.6091, allocations: 86.9 MB / 0.5508 GB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.6093, allocations: 81.14 kB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.6215, allocations: 5.35 MB / 0.5561 GB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6216, allocations: 0 / 0.5561 GB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.6216, allocations: 4 kB / 0.5561 GB, free: 3.758 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.000376/0.622, allocations: 403.7 kB / 0.5565 GB, free: 3.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.622, allocations: 8.031 kB / 0.5565 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.6221, allocations: 15.81 kB / 0.5565 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.6224, allocations: 219.7 kB / 0.5567 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6224, allocations: 8 kB / 0.5567 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6224, allocations: 0 / 0.5567 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.064e-05/0.6225, allocations: 19.3 kB / 0.5568 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.6226, allocations: 52.88 kB / 0.5568 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6226, allocations: 0 / 0.5568 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6226, allocations: 0 / 0.5568 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6226, allocations: 0 / 0.5568 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.623, allocations: 277.8 kB / 0.5571 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.293e-05/0.6231, allocations: 52.06 kB / 0.5571 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.6231, allocations: 19.17 kB / 0.5571 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.6231, allocations: 3.984 kB / 0.5571 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.6232, allocations: 70.39 kB / 0.5572 GB, free: 2.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.6233, allocations: 0 / 0.5572 GB, free: 2.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004292/0.6237, allocations: 152.9 kB / 0.5574 GB, free: 2.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.6237, allocations: 63.34 kB / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.6239, allocations: 182.4 kB / 0.5576 GB, free: 2.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.6239, allocations: 32.77 kB / 0.5576 GB, free: 2.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.6239, allocations: 103.2 kB / 0.5577 GB, free: 2.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.624, allocations: 18.72 kB / 0.5577 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.624, allocations: 0 / 0.5577 GB, free: 2.047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.624, allocations: 326.1 kB / 0.5581 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.6241, allocations: 14.62 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.6241, allocations: 38.34 kB / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.6242, allocations: 20.61 kB / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6242, allocations: 0 / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000115/0.6243, allocations: 94.56 kB / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.6243, allocations: 4 kB / 0.5582 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6243, allocations: 0 / 0.5582 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6243, allocations: 4 kB / 0.5582 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.6244, allocations: 15.98 kB / 0.5582 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6245, allocations: 4.031 kB / 0.5582 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.6245, allocations: 7.938 kB / 0.5582 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6245, allocations: 7.953 kB / 0.5583 GB, free: 1.539 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.205e-05/0.6246, allocations: 110.2 kB / 0.5584 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.6246, allocations: 11.91 kB / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.6248, allocations: 116.6 kB / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6248, allocations: 0 / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6248, allocations: 0 / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6248, allocations: 7.984 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.6251, allocations: 385.2 kB / 0.5589 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6252, allocations: 0 / 0.5589 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.6252, allocations: 19.38 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6252, allocations: 0 / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6252, allocations: 0 / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6252, allocations: 4 kB / 0.5589 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6252, allocations: 0 / 0.5589 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.6254, allocations: 214.8 kB / 0.5591 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.6255, allocations: 103.6 kB / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.6255, allocations: 0 / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.6256, allocations: 4 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.6256, allocations: 11.94 kB / 0.5592 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.6256, allocations: 3.375 kB / 0.5592 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.6257, allocations: 157.7 kB / 0.5594 GB, free: 432 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6257, allocations: 0 / 0.5594 GB, free: 432 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000239/0.626, allocations: 35.8 kB / 0.5594 GB, free: 400 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.0008016/0.6268, allocations: 405.8 kB / 0.5598 GB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.6269, allocations: 52 kB / 0.5598 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6269, allocations: 0 / 0.5598 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.627, allocations: 30.84 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.6273, allocations: 19.19 kB / 0.5599 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.6277, allocations: 181.6 kB / 0.56 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.628, allocations: 0.7119 MB / 0.5607 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.628, allocations: 16.84 kB / 0.5608 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.6281, allocations: 18.62 kB / 0.5608 GB, free: 15.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6281, allocations: 4 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004206/0.6323, allocations: 1.656 MB / 0.5624 GB, free: 13.39 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches