Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001234/0.001234, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.274/1.274, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2117/0.2117, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3799, allocations: 60.82 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002811/0.3827, allocations: 1.731 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3841, allocations: 0.877 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.3842, allocations: 1.375 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3845, allocations: 88.59 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.3848, allocations: 72.47 kB / 0.5224 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.385, allocations: 114.8 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3852, allocations: 115.3 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3854, allocations: 21.27 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3855, allocations: 57.75 kB / 0.5227 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3856, allocations: 62.86 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3856, allocations: 4.75 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3858, allocations: 54.25 kB / 0.5228 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.3858, allocations: 33.25 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.3859, allocations: 42.86 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3861, allocations: 136.4 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3861, allocations: 0 / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3861, allocations: 1.188 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3861, allocations: 0 / 0.523 GB, free: 1.5 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.0004742/0.3866, allocations: 431.9 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3867, allocations: 9.156 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3867, allocations: 16.2 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3869, allocations: 219.9 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.387, allocations: 3.078 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.387, allocations: 6.281 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3871, allocations: 57.64 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3872, allocations: 2.109 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3872, allocations: 4 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.3872, allocations: 1.094 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.3873, allocations: 21.64 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.3876, allocations: 308.4 kB / 0.524 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.3879, allocations: 61.19 kB / 0.5241 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.3879, allocations: 21.58 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.388, allocations: 1.469 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.3881, allocations: 79.31 kB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.3881, allocations: 0 / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007681/0.3889, allocations: 240.4 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.389, allocations: 57.16 kB / 0.5244 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3892, allocations: 223.4 kB / 0.5247 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3893, allocations: 32.34 kB / 0.5247 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3894, allocations: 108.8 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.3895, allocations: 31.7 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.3895, allocations: 32.11 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3897, allocations: 329 kB / 0.5252 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.3898, allocations: 26.45 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.3899, allocations: 48.42 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3901, allocations: 79.3 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3901, allocations: 4 kB / 0.5253 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002568/0.3904, allocations: 125.8 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3904, allocations: 10.22 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3904, allocations: 0 / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.3904, allocations: 5.766 kB / 0.5255 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.3905, allocations: 22.77 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3905, allocations: 6.422 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3906, allocations: 2.406 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3906, allocations: 8.266 kB / 0.5255 GB, free: 15.39 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.000147/0.3908, allocations: 134.8 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.3908, allocations: 10 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.3909, allocations: 22.02 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3909, allocations: 1.844 kB / 0.5257 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3909, allocations: 3.938 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3909, allocations: 1.969 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.3916, allocations: 455.7 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3916, allocations: 3.406 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.3917, allocations: 18.88 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3917, allocations: 2.031 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3917, allocations: 3.312 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3917, allocations: 1.891 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3917, allocations: 1.375 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3921, allocations: 239.6 kB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.3921, allocations: 85.66 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3922, allocations: 12.06 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.3923, allocations: 5.828 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3923, allocations: 8.781 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3923, allocations: 8.688 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3925, allocations: 171.7 kB / 0.5266 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3925, allocations: 0 / 0.5266 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3928, allocations: 37.91 kB / 0.5267 GB, free: 14.42 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.001347/0.3942, allocations: 0.5056 MB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3944, allocations: 81.69 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3944, allocations: 0 / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3945, allocations: 43.64 kB / 0.5273 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3949, allocations: 36.27 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.3955, allocations: 317.3 kB / 0.5276 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3958, allocations: 0.7184 MB / 0.5283 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.3958, allocations: 18.3 kB / 0.5283 GB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3958, allocations: 0 / 0.5283 GB, free: 13.2 MB / 398.1 MB Notification: Performance of Templates: time 0.004353/0.4002, allocations: 2.212 MB / 0.5305 GB, free: 12.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches