Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.00117, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001245/0.001245, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.375/1.375, allocations: 222.9 MB / 242.4 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.2013/0.2013, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3816, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003928/0.3855, allocations: 1.731 MB / 0.5207 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3873, allocations: 0.8804 MB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.3876, allocations: 1.438 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.388, allocations: 80.12 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.3884, allocations: 79.19 kB / 0.5217 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.389, allocations: 111.3 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3893, allocations: 108.5 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3894, allocations: 21.56 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3896, allocations: 54.55 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3898, allocations: 60.89 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3898, allocations: 4.031 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.3901, allocations: 55.09 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.3902, allocations: 27.69 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.3903, allocations: 35.66 kB / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3908, allocations: 138.9 kB / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3908, allocations: 4.75 kB / 0.5223 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3908, allocations: 0 / 0.5223 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3908, allocations: 0 / 0.5223 GB, free: 1.484 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007231/0.3915, allocations: 428.7 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3916, allocations: 9.875 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.3917, allocations: 14.72 kB / 0.5227 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.392, allocations: 219.9 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.392, allocations: 1.688 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.392, allocations: 12.84 kB / 0.523 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3922, allocations: 60.59 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3923, allocations: 0.7031 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3923, allocations: 1.125 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3923, allocations: 1.062 kB / 0.523 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.3924, allocations: 24.91 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.3929, allocations: 300 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3932, allocations: 68.27 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.3933, allocations: 25.86 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3933, allocations: 1 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3935, allocations: 68.08 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.3935, allocations: 0 / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008722/0.3944, allocations: 241.2 kB / 0.5237 GB, free: 264 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3944, allocations: 57.56 kB / 0.5238 GB, free: 196 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3947, allocations: 209.3 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3947, allocations: 30.83 kB / 0.524 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.3948, allocations: 106.4 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.3949, allocations: 40.69 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.3949, allocations: 31.23 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3951, allocations: 323.7 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.3952, allocations: 34.27 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.3953, allocations: 43.91 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3954, allocations: 80.11 kB / 0.5246 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3954, allocations: 5.219 kB / 0.5246 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002592/0.3957, allocations: 128.2 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3957, allocations: 6.109 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3957, allocations: 8.031 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3958, allocations: 1.406 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.3959, allocations: 19.89 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3959, allocations: 10.12 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.396, allocations: 6.234 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.396, allocations: 4.312 kB / 0.5248 GB, free: 15.37 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 (13): * Single equations (assignments): 13 * 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.0001445/0.3961, allocations: 129.3 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3962, allocations: 9.766 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.3962, allocations: 25.86 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3962, allocations: 2.375 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3963, allocations: 3.938 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3963, allocations: 0.9375 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.3969, allocations: 454.2 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3969, allocations: 1.688 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.397, allocations: 17.48 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.397, allocations: 6.25 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.397, allocations: 3.594 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.397, allocations: 0 / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.397, allocations: 2.219 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3974, allocations: 236.3 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.3975, allocations: 89.17 kB / 0.5257 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.3975, allocations: 11.05 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.3976, allocations: 3.531 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3977, allocations: 10.98 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3977, allocations: 5.281 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.3979, allocations: 156.6 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.3982, allocations: 31.22 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001207/0.3994, allocations: 0.5226 MB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.3996, allocations: 77.52 kB / 0.5265 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3997, allocations: 1.375 kB / 0.5265 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.3998, allocations: 39.34 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4001, allocations: 34.98 kB / 0.5266 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.4007, allocations: 272.4 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.401, allocations: 0.7123 MB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.608e-05/0.4011, allocations: 23.14 kB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.4012, allocations: 22.27 kB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4012, allocations: 4 kB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.005684/0.4069, allocations: 1.974 MB / 0.5295 GB, free: 12.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches