Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 109.6 kB / 18.45 MB, free: 4.621 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.001826/0.001826, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.333/1.333, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.205/0.205, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3789, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003251/0.3822, allocations: 1.668 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3837, allocations: 0.8538 MB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.3838, allocations: 1.062 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.3842, allocations: 56.56 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.3844, allocations: 74.14 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3848, allocations: 99.69 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.385, allocations: 100.2 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.385, allocations: 4.516 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3851, allocations: 46.73 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3853, allocations: 51.75 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3853, allocations: 3.312 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.3854, allocations: 33.73 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.3855, allocations: 18.89 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.3855, allocations: 27.55 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3858, allocations: 103.5 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3858, allocations: 1.406 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3858, allocations: 0 / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3858, allocations: 1.125 kB / 0.5227 GB, free: 1.602 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005383/0.3863, allocations: 405.5 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3864, allocations: 9.875 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.3864, allocations: 9.062 kB / 0.5231 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3867, allocations: 206 kB / 0.5233 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3867, allocations: 1.844 kB / 0.5233 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3868, allocations: 6.047 kB / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3869, allocations: 50.48 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3869, allocations: 0 / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.387, allocations: 0.7031 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.387, allocations: 5.094 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.387, allocations: 19.02 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.3872, allocations: 178.8 kB / 0.5235 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3874, allocations: 55.95 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.3875, allocations: 24.38 kB / 0.5236 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3875, allocations: 5.031 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3877, allocations: 72.8 kB / 0.5237 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3877, allocations: 0 / 0.5237 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000291/0.388, allocations: 95.72 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.388, allocations: 53.31 kB / 0.5238 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3882, allocations: 184.9 kB / 0.524 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3882, allocations: 27.64 kB / 0.524 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.3882, allocations: 107.9 kB / 0.5241 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3883, allocations: 10.58 kB / 0.5242 GB, free: 224 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3883, allocations: 20.14 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3884, allocations: 322.2 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.3885, allocations: 13.44 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.3886, allocations: 30.45 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.3887, allocations: 51.39 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3887, allocations: 0 / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001733/0.3889, allocations: 84.06 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3889, allocations: 8.469 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3889, allocations: 1.219 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3889, allocations: 1.703 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.389, allocations: 10.7 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.389, allocations: 4.688 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3891, allocations: 3.859 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3891, allocations: 6.781 kB / 0.5247 GB, free: 15.75 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 (7): * Single equations (assignments): 7 * 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.0001263/0.3892, allocations: 132.7 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.3893, allocations: 8.531 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3893, allocations: 10.91 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3893, allocations: 0 / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3893, allocations: 1.219 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3893, allocations: 0.7031 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3895, allocations: 185.3 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3895, allocations: 1.156 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.3896, allocations: 12.23 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3896, allocations: 3.938 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3896, allocations: 1.734 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3896, allocations: 5.656 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3896, allocations: 0.7031 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3898, allocations: 111 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3899, allocations: 85.47 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3899, allocations: 1.344 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.3899, allocations: 6.75 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.39, allocations: 8.172 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.39, allocations: 2.219 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3901, allocations: 139.5 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3902, allocations: 0 / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.3904, allocations: 14.77 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001021/0.3914, allocations: 423.2 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.3916, allocations: 44.95 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3916, allocations: 0 / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.3917, allocations: 22.14 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.392, allocations: 29.59 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.3925, allocations: 224.5 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3928, allocations: 0.7082 MB / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.3929, allocations: 16.56 kB / 0.5268 GB, free: 13.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3929, allocations: 0 / 0.5268 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Templates: time 0.003983/0.3969, allocations: 1.683 MB / 0.5284 GB, free: 13.48 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches