Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, 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.673/1.673, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0008586/0.0008587, allocations: 90.62 kB / 261.7 MB, free: 1.617 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.2541/0.2541, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.75e-05, allocations: 8 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5842, allocations: 86.95 MB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5844, allocations: 81.05 kB / 0.5509 GB, free: 7.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.5979, allocations: 5.362 MB / 0.5562 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.598, allocations: 0 / 0.5562 GB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.598, allocations: 3.938 kB / 0.5562 GB, free: 3.719 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.0004916/0.5985, allocations: 404.8 kB / 0.5566 GB, free: 3.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5986, allocations: 12.03 kB / 0.5566 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.5986, allocations: 11.81 kB / 0.5566 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.599, allocations: 215.2 kB / 0.5568 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.599, allocations: 4 kB / 0.5568 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.599, allocations: 0 / 0.5568 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.968e-05/0.5992, allocations: 22.92 kB / 0.5568 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.5993, allocations: 49.56 kB / 0.5569 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5993, allocations: 3.812 kB / 0.5569 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.5993, allocations: 3.984 kB / 0.5569 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.5993, allocations: 0 / 0.5569 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.5997, allocations: 274.1 kB / 0.5571 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5999, allocations: 48.62 kB / 0.5572 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.5999, allocations: 24.23 kB / 0.5572 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5999, allocations: 0 / 0.5572 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.6001, allocations: 66.64 kB / 0.5573 GB, free: 2.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.434e-06/0.6001, allocations: 4 kB / 0.5573 GB, free: 2.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004961/0.6006, allocations: 145.6 kB / 0.5574 GB, free: 2.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6006, allocations: 55.34 kB / 0.5575 GB, free: 2.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6008, allocations: 183.4 kB / 0.5576 GB, free: 2.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.6008, allocations: 29.64 kB / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.6009, allocations: 103.3 kB / 0.5578 GB, free: 2.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.6009, allocations: 27.39 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.6009, allocations: 0 / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.601, allocations: 325.8 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.601, allocations: 19 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.6011, allocations: 29.47 kB / 0.5581 GB, free: 1.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.6011, allocations: 26.55 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6011, allocations: 0 / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001216/0.6013, allocations: 95.72 kB / 0.5583 GB, free: 1.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6013, allocations: 7.984 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6013, allocations: 0 / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6013, allocations: 0 / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.6014, allocations: 20.03 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6015, allocations: 0 / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.6015, allocations: 4.172 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.6015, allocations: 11.95 kB / 0.5583 GB, free: 1.504 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 7.187e-05/0.6016, allocations: 106.4 kB / 0.5584 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.6016, allocations: 15.75 kB / 0.5584 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.6018, allocations: 109.6 kB / 0.5585 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6018, allocations: 4 kB / 0.5585 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.6018, allocations: 4 kB / 0.5585 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6019, allocations: 0 / 0.5585 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.6022, allocations: 381.6 kB / 0.5589 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6022, allocations: 0 / 0.5589 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.6023, allocations: 8 kB / 0.5589 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.6023, allocations: 4 kB / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.6023, allocations: 0 / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6023, allocations: 3.938 kB / 0.5589 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6023, allocations: 4.031 kB / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.6025, allocations: 219.4 kB / 0.5591 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.6026, allocations: 96.5 kB / 0.5592 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.6026, allocations: 4 kB / 0.5592 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.6027, allocations: 3.984 kB / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.6027, allocations: 15.89 kB / 0.5592 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.6028, allocations: 4 kB / 0.5592 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.6029, allocations: 146.3 kB / 0.5594 GB, free: 412 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6029, allocations: 0 / 0.5594 GB, free: 412 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.6031, allocations: 35.55 kB / 0.5594 GB, free: 380 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.0008978/0.604, allocations: 383.7 kB / 0.5598 GB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.6042, allocations: 54.06 kB / 0.5598 GB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6042, allocations: 0 / 0.5598 GB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.6043, allocations: 34.83 kB / 0.5599 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6045, allocations: 30.56 kB / 0.5599 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.6049, allocations: 161.3 kB / 0.5601 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.6052, allocations: 0.7114 MB / 0.5607 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.6053, allocations: 12.56 kB / 0.5608 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.6054, allocations: 23.42 kB / 0.5608 GB, free: 15.03 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6054, allocations: 0 / 0.5608 GB, free: 15.03 MB / 378.7 MB Notification: Performance of Templates: time 0.004292/0.6097, allocations: 1.652 MB / 0.5624 GB, free: 13.4 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches