Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 109.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 180.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3758, allocations: 60.82 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002919/0.3788, allocations: 1.71 MB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3801, allocations: 0.8715 MB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.3802, allocations: 5.094 kB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3805, allocations: 35.77 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.3807, allocations: 59.12 kB / 0.5223 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.381, allocations: 109.8 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3812, allocations: 95.94 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.3813, allocations: 11.86 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.3814, allocations: 41.14 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.3815, allocations: 34.41 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3815, allocations: 3.531 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.371e-05/0.3816, allocations: 46.55 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.3816, allocations: 22.38 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.3817, allocations: 33.44 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3819, allocations: 111.6 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3819, allocations: 0 / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3819, allocations: 0 / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3819, allocations: 1.344 kB / 0.5227 GB, free: 1.562 MB / 382.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.0004628/0.3824, allocations: 409 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3824, allocations: 9.094 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3825, allocations: 10 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3827, allocations: 210.2 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3828, allocations: 6.625 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3828, allocations: 6.188 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3829, allocations: 57.91 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.383, allocations: 4.469 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.383, allocations: 0.9688 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.383, allocations: 5.031 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.3831, allocations: 21.81 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.3834, allocations: 287 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3835, allocations: 56.28 kB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.3836, allocations: 24.17 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3836, allocations: 0.9688 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3838, allocations: 77.19 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3838, allocations: 0 / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.3843, allocations: 172.5 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3844, allocations: 57.19 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3845, allocations: 186.8 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3845, allocations: 27.3 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.3846, allocations: 98.92 kB / 0.5244 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3846, allocations: 30.75 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3847, allocations: 29.11 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3848, allocations: 327.3 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.3849, allocations: 21.52 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.3849, allocations: 34.3 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3851, allocations: 63.2 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3851, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.3853, allocations: 105 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3853, allocations: 8.969 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3853, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3853, allocations: 1.344 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.3854, allocations: 14.77 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3854, allocations: 2.203 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.3855, allocations: 7.062 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3855, allocations: 2.375 kB / 0.525 GB, free: 15.55 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3856, allocations: 129.5 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3856, allocations: 14 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.3857, allocations: 15.41 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3857, allocations: 2.625 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3857, allocations: 0 / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3857, allocations: 4.594 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.3862, allocations: 389.5 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3862, allocations: 3.938 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.3862, allocations: 16.92 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3862, allocations: 1.125 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3863, allocations: 7.188 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3863, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3863, allocations: 2.297 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3865, allocations: 200.5 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3866, allocations: 88.59 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3866, allocations: 13.88 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.3867, allocations: 3.938 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3867, allocations: 9.281 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3867, allocations: 4.984 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3869, allocations: 147.3 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3869, allocations: 0 / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3871, allocations: 25.31 kB / 0.526 GB, free: 14.66 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.3882, allocations: 461.8 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3884, allocations: 65.05 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3884, allocations: 0 / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.3885, allocations: 28.94 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3888, allocations: 37.69 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.3893, allocations: 247.8 kB / 0.5269 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3895, allocations: 0.7039 MB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.3896, allocations: 17.47 kB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3896, allocations: 0 / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.004425/0.394, allocations: 1.901 MB / 0.5294 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches