Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001247/0.001247, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.327/1.327, 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.2082/0.2082, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3847, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003031/0.3878, allocations: 1.706 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3892, allocations: 0.8839 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.3893, allocations: 1.156 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.3896, allocations: 40.31 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.3898, allocations: 52.91 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.3901, allocations: 116.6 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3903, allocations: 100 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3904, allocations: 11.38 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.3905, allocations: 41.5 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.3906, allocations: 31.84 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3906, allocations: 2.844 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3907, allocations: 41.92 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.3908, allocations: 18.64 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.3908, allocations: 37.3 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3911, allocations: 111.8 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3911, allocations: 4 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3911, allocations: 0 / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3911, allocations: 0 / 0.5228 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.00051/0.3916, allocations: 409.2 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3917, allocations: 9.875 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3917, allocations: 9.188 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.392, allocations: 206.9 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.392, allocations: 2.5 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.392, allocations: 7.062 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3922, allocations: 61.97 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3922, allocations: 3.906 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3922, allocations: 1.812 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3922, allocations: 3.938 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.3923, allocations: 18.48 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.3927, allocations: 282.3 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3929, allocations: 64.56 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.3929, allocations: 20.05 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.393, allocations: 1.031 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3931, allocations: 69.55 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3931, allocations: 0 / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.3937, allocations: 180.6 kB / 0.524 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3937, allocations: 61.56 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3939, allocations: 182.8 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3939, allocations: 30.58 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.3939, allocations: 99.8 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.394, allocations: 26.05 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.394, allocations: 21.94 kB / 0.5244 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3941, allocations: 325.7 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.3942, allocations: 25.84 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.3943, allocations: 44.27 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3944, allocations: 57.41 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3944, allocations: 0 / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.3947, allocations: 101.3 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3947, allocations: 5.625 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3947, allocations: 4.781 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3947, allocations: 1.312 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3948, allocations: 15.8 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3948, allocations: 1 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3949, allocations: 10.77 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3949, allocations: 3.047 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 0.0001094/0.395, allocations: 125.6 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.395, allocations: 12.66 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.3951, allocations: 15.69 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3951, allocations: 9.641 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3951, allocations: 0 / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3951, allocations: 5.594 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.3956, allocations: 385.4 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3956, allocations: 5.703 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.3957, allocations: 8.406 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3957, allocations: 1.188 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3957, allocations: 9.688 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3957, allocations: 6 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3957, allocations: 1.422 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.396, allocations: 208 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.396, allocations: 86.38 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3961, allocations: 8.688 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.3961, allocations: 6.594 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3962, allocations: 10.41 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3962, allocations: 4.344 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3963, allocations: 147.4 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3963, allocations: 1.781 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3966, allocations: 20.03 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001055/0.3977, allocations: 469.7 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3979, allocations: 59.77 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3979, allocations: 0 / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.398, allocations: 29.77 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3983, allocations: 32.2 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.3988, allocations: 243.2 kB / 0.5268 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3991, allocations: 0.7038 MB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.3992, allocations: 20.81 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3992, allocations: 0 / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.003958/0.4031, allocations: 1.903 MB / 0.5294 GB, free: 12.81 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches