Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.00159, allocations: 107.7 kB / 18.46 MB, free: 4.594 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.002274/0.002274, allocations: 186.1 kB / 19.39 MB, free: 3.672 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.435/1.435, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2199/0.2199, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3861, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002835/0.389, allocations: 1.721 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3904, allocations: 0.8709 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.3905, allocations: 1.375 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3908, allocations: 32.62 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.391, allocations: 53.11 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3913, allocations: 110.2 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3915, allocations: 96.3 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.3916, allocations: 14.58 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.3917, allocations: 46.25 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3917, allocations: 30.17 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3918, allocations: 3.375 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.3919, allocations: 42.5 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3919, allocations: 21.12 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.392, allocations: 32.72 kB / 0.5226 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3922, allocations: 105 kB / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3922, allocations: 0 / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3922, allocations: 0.7188 kB / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.3922, allocations: 4 kB / 0.5227 GB, free: 1.543 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.000483/0.3927, allocations: 403.9 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3927, allocations: 9.438 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.3928, allocations: 13.09 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.393, allocations: 199.8 kB / 0.5233 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3931, allocations: 9.672 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3931, allocations: 2.219 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3932, allocations: 58.19 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3933, allocations: 5.156 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3933, allocations: 0.8906 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3933, allocations: 1.094 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.3934, allocations: 22.59 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.3937, allocations: 282.5 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3939, allocations: 61.14 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3939, allocations: 23.66 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3939, allocations: 2.234 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3941, allocations: 73.41 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3941, allocations: 0 / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.3946, allocations: 172 kB / 0.524 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3947, allocations: 56.41 kB / 0.5241 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3948, allocations: 167.8 kB / 0.5242 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3948, allocations: 27.42 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3949, allocations: 101.8 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3949, allocations: 26.59 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.395, allocations: 21.67 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3951, allocations: 326.3 kB / 0.5247 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.3952, allocations: 18.2 kB / 0.5247 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.3953, allocations: 42 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3954, allocations: 60 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3954, allocations: 0 / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.3956, allocations: 105.2 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3956, allocations: 3.391 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3956, allocations: 2.656 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3956, allocations: 3.938 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.3957, allocations: 19.27 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3957, allocations: 0.6094 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.3958, allocations: 7.578 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3958, allocations: 3.844 kB / 0.525 GB, free: 15.54 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 9.998e-05/0.3959, allocations: 120.9 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3959, allocations: 9.391 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.396, allocations: 14.25 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.396, allocations: 9.703 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.396, allocations: 4 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.3961, allocations: 88.66 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3961, allocations: 5.781 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.3961, allocations: 3 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3962, allocations: 5.094 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002256/0.3964, allocations: 174.2 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002499/0.3967, allocations: 278.9 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.532e-05/0.3967, allocations: 26.86 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3969, allocations: 124.1 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of Backend: time 7.92e-07/0.3969, allocations: 0 / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3982, allocations: 495.6 kB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005774/0.3988, allocations: 0.6461 MB / 0.5269 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Templates: time 0.004704/0.4035, allocations: 1.739 MB / 0.5286 GB, free: 13.48 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches