Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002108/0.002108, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 93.62 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3356/0.3356, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.777e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5654, allocations: 86.96 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5658, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.5904, allocations: 5.4 MB / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5904, allocations: 0 / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.5904, allocations: 3.938 kB / 0.5562 GB, free: 6.875 MB / 395.1 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.0005945/0.591, allocations: 406.2 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5911, allocations: 12.03 kB / 0.5566 GB, free: 6.422 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.5912, allocations: 15.81 kB / 0.5566 GB, free: 6.406 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.5916, allocations: 211.5 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5916, allocations: 0 / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.5917, allocations: 4 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.916e-05/0.5918, allocations: 16 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5919, allocations: 57.61 kB / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5919, allocations: 0 / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.592, allocations: 0 / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.592, allocations: 0 / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.5924, allocations: 273.5 kB / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5926, allocations: 46.69 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.5927, allocations: 20.97 kB / 0.5572 GB, free: 5.691 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.5927, allocations: 4 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.5929, allocations: 67.34 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.5929, allocations: 0 / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.5935, allocations: 153.2 kB / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5936, allocations: 51.41 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.5938, allocations: 182.4 kB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.5939, allocations: 25.7 kB / 0.5577 GB, free: 5.168 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.594, allocations: 170.5 kB / 0.5578 GB, free: 5 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.594, allocations: 27.64 kB / 0.5579 GB, free: 4.973 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5941, allocations: 0 / 0.5579 GB, free: 4.973 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5942, allocations: 314.8 kB / 0.5582 GB, free: 4.656 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.5943, allocations: 20 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.5944, allocations: 37.64 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.5945, allocations: 19.98 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5945, allocations: 0 / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002121/0.5947, allocations: 85.61 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5947, allocations: 4 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.5947, allocations: 4.031 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5948, allocations: 4.188 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5949, allocations: 19.98 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.595, allocations: 0 / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.5951, allocations: 4 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.5951, allocations: 7.953 kB / 0.5584 GB, free: 4.441 MB / 395.1 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 9.973e-05/0.5952, allocations: 105 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.5952, allocations: 15.81 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.5956, allocations: 111.4 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5956, allocations: 0 / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5956, allocations: 0 / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5956, allocations: 3.984 kB / 0.5586 GB, free: 4.199 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.5963, allocations: 383.8 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5963, allocations: 0 / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.5964, allocations: 11.98 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5964, allocations: 0 / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5964, allocations: 4 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.5964, allocations: 7.969 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5965, allocations: 0 / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.5968, allocations: 217.9 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.5969, allocations: 93 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5969, allocations: 4.312 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5971, allocations: 8 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5971, allocations: 11.94 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.5972, allocations: 11.94 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.5974, allocations: 144.8 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5974, allocations: 0 / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.5978, allocations: 27.94 kB / 0.5595 GB, free: 3.203 MB / 395.1 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.001159/0.5989, allocations: 384 kB / 0.5598 GB, free: 2.863 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.5992, allocations: 55.92 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5992, allocations: 0 / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.5993, allocations: 32 kB / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.5997, allocations: 31.38 kB / 0.5599 GB, free: 2.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.6002, allocations: 195.4 kB / 0.5601 GB, free: 2.531 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.6006, allocations: 0.708 MB / 0.5608 GB, free: 1.797 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.6007, allocations: 19.42 kB / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of SimCode: time 9.81e-07/0.6007, allocations: 4.062 kB / 0.5608 GB, free: 1.773 MB / 395.1 MB Notification: Performance of Templates: time 0.005776/0.6065, allocations: 1.957 MB / 0.5628 GB, free: 15.82 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches