Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009577, allocations: 101.2 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.889e-05/4.909e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.4923, allocations: 89.21 MB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4925, allocations: 75.95 kB / 0.5889 GB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.5078, allocations: 5.863 MB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5079, allocations: 0 / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5079, allocations: 4 kB / 0.5946 GB, free: 10.2 MB / 410.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.0004075/0.5083, allocations: 416.4 kB / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5084, allocations: 12.03 kB / 0.595 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.5084, allocations: 11.91 kB / 0.5951 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.5087, allocations: 230.5 kB / 0.5953 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5087, allocations: 7.953 kB / 0.5953 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.5088, allocations: 4 kB / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.5089, allocations: 57.61 kB / 0.5953 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5089, allocations: 4 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.5089, allocations: 0 / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.5089, allocations: 4 kB / 0.5953 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.509, allocations: 23.92 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.5094, allocations: 300.9 kB / 0.5957 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.5095, allocations: 58.62 kB / 0.5957 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.5096, allocations: 20.98 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.5096, allocations: 0 / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.5097, allocations: 75.28 kB / 0.5958 GB, free: 8.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5097, allocations: 0 / 0.5958 GB, free: 8.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004098/0.5101, allocations: 165.1 kB / 0.596 GB, free: 8.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.5102, allocations: 51.41 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5104, allocations: 241.8 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.5104, allocations: 25.7 kB / 0.5963 GB, free: 8.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.5105, allocations: 112.1 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.5105, allocations: 27.59 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5105, allocations: 0 / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5107, allocations: 334.8 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.5107, allocations: 20 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.5108, allocations: 33.66 kB / 0.5968 GB, free: 7.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.5108, allocations: 27.98 kB / 0.5968 GB, free: 7.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5108, allocations: 0 / 0.5968 GB, free: 7.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.511, allocations: 101.5 kB / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.511, allocations: 9.406 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.511, allocations: 0 / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.511, allocations: 0 / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.5111, allocations: 19.92 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5111, allocations: 4 kB / 0.5969 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.5112, allocations: 0 / 0.5969 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.5112, allocations: 8.031 kB / 0.5969 GB, free: 7.617 MB / 410.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.535e-05/0.5113, allocations: 114.5 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.5113, allocations: 19.8 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.5115, allocations: 119.1 kB / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5115, allocations: 0 / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5115, allocations: 4 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5115, allocations: 0 / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.512, allocations: 431.4 kB / 0.5976 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.512, allocations: 7.984 kB / 0.5976 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.5121, allocations: 11.98 kB / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5121, allocations: 7.938 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5121, allocations: 4 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5121, allocations: 3.938 kB / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5121, allocations: 0 / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.5123, allocations: 230.1 kB / 0.5978 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.5124, allocations: 100.9 kB / 0.5979 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5124, allocations: 4 kB / 0.5979 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.5125, allocations: 8 kB / 0.598 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5126, allocations: 7.938 kB / 0.598 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5126, allocations: 4 kB / 0.598 GB, free: 6.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.5128, allocations: 196.2 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5128, allocations: 0 / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.513, allocations: 43.92 kB / 0.5982 GB, free: 6.211 MB / 410.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.0009045/0.5139, allocations: 417.4 kB / 0.5986 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.5141, allocations: 59.94 kB / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5141, allocations: 0 / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.5141, allocations: 35.92 kB / 0.5987 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.5144, allocations: 29.42 kB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.5148, allocations: 215.5 kB / 0.5989 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5151, allocations: 0.7279 MB / 0.5996 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.5152, allocations: 24.41 kB / 0.5997 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.5152, allocations: 19.44 kB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5152, allocations: 0 / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of Templates: time 0.004215/0.5195, allocations: 1.831 MB / 0.6015 GB, free: 2.93 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches