Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 117.1 kB / 17.78 MB, free: 5.242 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.001036/0.001036, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1993/0.1993, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3718, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00336/0.3752, allocations: 1.588 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3768, allocations: 1.044 MB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.3769, allocations: 0 / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3771, allocations: 21.17 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3773, allocations: 45.78 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3776, allocations: 104.1 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3778, allocations: 71.95 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3779, allocations: 14.11 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.378, allocations: 33.06 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3781, allocations: 36.77 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3781, allocations: 4.438 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3782, allocations: 45.61 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.3783, allocations: 20.09 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.3783, allocations: 22.84 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3785, allocations: 110.9 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3785, allocations: 0 / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3785, allocations: 0 / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3785, allocations: 1.156 kB / 0.522 GB, free: 1.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004307/0.3789, allocations: 390.2 kB / 0.5224 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.379, allocations: 10.11 kB / 0.5224 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.379, allocations: 9.047 kB / 0.5224 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3792, allocations: 197.2 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3792, allocations: 1.469 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.3792, allocations: 7.594 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3794, allocations: 88.84 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3794, allocations: 4 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3795, allocations: 1.766 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3795, allocations: 1.094 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3796, allocations: 35.05 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.38, allocations: 309 kB / 0.523 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3801, allocations: 50.77 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.3802, allocations: 28.33 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3802, allocations: 1.828 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3802, allocations: 31.88 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3802, allocations: 0 / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006605/0.3809, allocations: 198.7 kB / 0.5233 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3809, allocations: 83.06 kB / 0.5234 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3811, allocations: 138.2 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3811, allocations: 32.3 kB / 0.5235 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.3811, allocations: 94.89 kB / 0.5236 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.3812, allocations: 28.7 kB / 0.5237 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.3812, allocations: 20.81 kB / 0.5237 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3814, allocations: 319.5 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.3815, allocations: 33.69 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3816, allocations: 43.27 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3817, allocations: 67.92 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3817, allocations: 0 / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000237/0.382, allocations: 116.1 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.382, allocations: 7.219 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.382, allocations: 5.531 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.382, allocations: 0 / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3821, allocations: 17.36 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3821, allocations: 4.359 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.3822, allocations: 9.531 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3822, allocations: 2.156 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001003/0.3823, allocations: 117 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.3823, allocations: 8.781 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.3827, allocations: 128.1 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3827, allocations: 1.125 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3827, allocations: 7.875 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3827, allocations: 6.734 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.3832, allocations: 394.2 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3832, allocations: 0.5625 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.3833, allocations: 24.73 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3833, allocations: 1.438 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3833, allocations: 5.953 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3833, allocations: 0 / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3833, allocations: 4.594 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3836, allocations: 205.5 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3837, allocations: 87.5 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3837, allocations: 4.703 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.3838, allocations: 5.484 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3838, allocations: 4.406 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.3838, allocations: 8.719 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.3839, allocations: 105.5 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3842, allocations: 27.64 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001091/0.3853, allocations: 449.3 kB / 0.5258 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3856, allocations: 72.05 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3856, allocations: 3.938 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.3857, allocations: 32.34 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.386, allocations: 24.75 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.3865, allocations: 197.9 kB / 0.5261 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3867, allocations: 0.6981 MB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.3868, allocations: 25.53 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.3869, allocations: 23.25 kB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3869, allocations: 3.938 kB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004715/0.3916, allocations: 1.47 MB / 0.5283 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches