Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 114.4 kB / 17.78 MB, free: 5.25 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.001169/0.001169, allocations: 187 kB / 18.71 MB, free: 4.324 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.367/1.367, allocations: 222.9 MB / 242.4 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.2181/0.2181, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002911/0.3827, allocations: 1.927 MB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3841, allocations: 0.9123 MB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3842, allocations: 2.469 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3845, allocations: 42.47 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3847, allocations: 61.64 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.385, allocations: 130.8 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3852, allocations: 138 kB / 0.5221 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3853, allocations: 25.39 kB / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.3854, allocations: 56.47 kB / 0.5222 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.3855, allocations: 57.45 kB / 0.5222 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3856, allocations: 6.906 kB / 0.5222 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.3857, allocations: 42.23 kB / 0.5223 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3857, allocations: 26.8 kB / 0.5223 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3858, allocations: 54.8 kB / 0.5223 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.386, allocations: 149.3 kB / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.386, allocations: 0 / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.386, allocations: 0 / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3861, allocations: 0 / 0.5225 GB, free: 1.262 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005506/0.3866, allocations: 486.5 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3867, allocations: 9.859 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3867, allocations: 20.22 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3869, allocations: 229.5 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.387, allocations: 2.906 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.387, allocations: 13.03 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3872, allocations: 112.9 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3872, allocations: 1.375 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3873, allocations: 4.703 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3873, allocations: 2.531 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3874, allocations: 47.42 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.3879, allocations: 0.4997 MB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.3882, allocations: 86.28 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.3884, allocations: 37.8 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3884, allocations: 1.25 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3886, allocations: 87.66 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3886, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003925/0.389, allocations: 142.8 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.389, allocations: 59.98 kB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3892, allocations: 192 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3893, allocations: 27.45 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.3893, allocations: 114.2 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3894, allocations: 39.02 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3894, allocations: 29.56 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3895, allocations: 323 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.3896, allocations: 28.73 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3897, allocations: 63.25 kB / 0.525 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3899, allocations: 104.5 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.39, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002675/0.3902, allocations: 137.1 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3902, allocations: 5.594 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3903, allocations: 1.984 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3903, allocations: 6.641 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3904, allocations: 32.83 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3904, allocations: 2.578 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.3905, allocations: 5.891 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3905, allocations: 9.469 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001155/0.3906, allocations: 135.8 kB / 0.5255 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3907, allocations: 16.06 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.3907, allocations: 18.98 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3907, allocations: 5.094 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3907, allocations: 1.922 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3907, allocations: 0 / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3909, allocations: 201.5 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3909, allocations: 1.688 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.391, allocations: 14.83 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.391, allocations: 4.656 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.391, allocations: 2.516 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.391, allocations: 5.969 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.391, allocations: 0 / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3914, allocations: 182.4 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3915, allocations: 89.06 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3915, allocations: 1.984 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.3916, allocations: 17.42 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3916, allocations: 6.656 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3917, allocations: 3.469 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3918, allocations: 138.1 kB / 0.5261 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3918, allocations: 0 / 0.5261 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.392, allocations: 29.39 kB / 0.5262 GB, free: 14.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009104/0.3929, allocations: 419.6 kB / 0.5266 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3932, allocations: 81.08 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3932, allocations: 0 / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3933, allocations: 39.05 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.3937, allocations: 37.31 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.3942, allocations: 248 kB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3945, allocations: 0.722 MB / 0.5277 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.3945, allocations: 20.45 kB / 0.5277 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.3946, allocations: 16.3 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3946, allocations: 0 / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Templates: time 0.005049/0.3997, allocations: 1.942 MB / 0.5296 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches