Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 178.3 kB / 8.005 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.635/1.635, 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.0008251/0.0008248, allocations: 86.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.2121/0.2121, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.746e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5865, allocations: 86.95 MB / 0.5509 GB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5869, allocations: 76.02 kB / 0.5509 GB, free: 7.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.6018, allocations: 5.461 MB / 0.5563 GB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6018, allocations: 0 / 0.5563 GB, free: 3.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.6019, allocations: 4 kB / 0.5563 GB, free: 3.637 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.0004943/0.6024, allocations: 401.2 kB / 0.5566 GB, free: 3.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6024, allocations: 8.031 kB / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.6025, allocations: 11.81 kB / 0.5567 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.6028, allocations: 222.4 kB / 0.5569 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6028, allocations: 0 / 0.5569 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6029, allocations: 4 kB / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.049e-05/0.603, allocations: 23.67 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.6031, allocations: 44.81 kB / 0.5569 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6031, allocations: 8 kB / 0.557 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6031, allocations: 0 / 0.557 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.6031, allocations: 3.984 kB / 0.557 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.6035, allocations: 273.2 kB / 0.5572 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.6036, allocations: 49 kB / 0.5573 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.6036, allocations: 22.73 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.6036, allocations: 4.656 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.6038, allocations: 66.7 kB / 0.5574 GB, free: 2.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6038, allocations: 0 / 0.5574 GB, free: 2.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000435/0.6042, allocations: 147.3 kB / 0.5575 GB, free: 2.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.6042, allocations: 51.41 kB / 0.5575 GB, free: 2.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.6044, allocations: 190.3 kB / 0.5577 GB, free: 2.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.6044, allocations: 25.7 kB / 0.5577 GB, free: 2.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.6045, allocations: 115.8 kB / 0.5579 GB, free: 1.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.6045, allocations: 22.7 kB / 0.5579 GB, free: 1.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.6045, allocations: 0 / 0.5579 GB, free: 1.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.6046, allocations: 324.5 kB / 0.5582 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.6047, allocations: 14.69 kB / 0.5582 GB, free: 1.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.6047, allocations: 28.47 kB / 0.5582 GB, free: 1.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.6047, allocations: 24.73 kB / 0.5583 GB, free: 1.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6048, allocations: 4 kB / 0.5583 GB, free: 1.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001199/0.6049, allocations: 99.16 kB / 0.5584 GB, free: 1.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6049, allocations: 4 kB / 0.5584 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6049, allocations: 0 / 0.5584 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6049, allocations: 0 / 0.5584 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.605, allocations: 19.98 kB / 0.5584 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.605, allocations: 0 / 0.5584 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.6051, allocations: 8.125 kB / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.6051, allocations: 7.953 kB / 0.5584 GB, free: 1.426 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.088e-05/0.6052, allocations: 118.6 kB / 0.5585 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.6052, allocations: 11.89 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.6054, allocations: 119.9 kB / 0.5586 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6054, allocations: 0 / 0.5586 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.6054, allocations: 0 / 0.5586 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6055, allocations: 3.984 kB / 0.5586 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.6058, allocations: 382.8 kB / 0.559 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6058, allocations: 4.031 kB / 0.559 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.6058, allocations: 11.94 kB / 0.559 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6058, allocations: 0 / 0.559 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.6059, allocations: 4 kB / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6059, allocations: 0 / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6059, allocations: 0 / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.606, allocations: 220.6 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.6061, allocations: 100.8 kB / 0.5593 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.6061, allocations: 6.812 kB / 0.5593 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.6062, allocations: 0 / 0.5593 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6062, allocations: 11.94 kB / 0.5593 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6063, allocations: 4 kB / 0.5593 GB, free: 440 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.6064, allocations: 157.7 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6064, allocations: 0 / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.6066, allocations: 31.98 kB / 0.5595 GB, free: 276 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.0009331/0.6076, allocations: 386.2 kB / 0.5599 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.6077, allocations: 54.12 kB / 0.5599 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6077, allocations: 0 / 0.5599 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.6078, allocations: 34.62 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.6081, allocations: 19.42 kB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.6085, allocations: 175.2 kB / 0.5602 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6088, allocations: 0.715 MB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.6089, allocations: 24.83 kB / 0.5609 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.609, allocations: 15.44 kB / 0.5609 GB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.609, allocations: 0 / 0.5609 GB, free: 14.91 MB / 378.7 MB Notification: Performance of Templates: time 0.0044/0.6134, allocations: 1.667 MB / 0.5625 GB, free: 13.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches