Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 111.8 kB / 17.78 MB, free: 5.281 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.001106/0.001106, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.331/1.331, 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.199/0.199, allocations: 44.2 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003666/0.3717, allocations: 1.576 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3735, allocations: 1.025 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3736, allocations: 5.156 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3739, allocations: 19.52 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3743, allocations: 45.08 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3748, allocations: 114.9 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.375, allocations: 59.39 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3751, allocations: 13.77 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.3752, allocations: 17.77 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3754, allocations: 30.33 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3754, allocations: 3.625 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3755, allocations: 49.25 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.3756, allocations: 17.05 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.3757, allocations: 22.47 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3759, allocations: 86.44 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.376, allocations: 1.156 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.376, allocations: 0 / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.376, allocations: 0 / 0.5219 GB, free: 1.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000476/0.3764, allocations: 381.5 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3765, allocations: 9.906 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.3766, allocations: 11.33 kB / 0.5223 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3767, allocations: 194.4 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3768, allocations: 2.266 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3768, allocations: 5.516 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.377, allocations: 66.97 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.377, allocations: 3.953 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.377, allocations: 1 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.377, allocations: 1.672 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.3771, allocations: 22.67 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3775, allocations: 287.4 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3777, allocations: 42.78 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.3778, allocations: 17.83 kB / 0.5229 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3778, allocations: 1.25 kB / 0.5229 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3779, allocations: 40.58 kB / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3779, allocations: 0 / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005851/0.3784, allocations: 142.5 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3785, allocations: 78.58 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3786, allocations: 135.4 kB / 0.5233 GB, free: 248 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3786, allocations: 27.17 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3787, allocations: 96.64 kB / 0.5234 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3787, allocations: 14.7 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.3788, allocations: 23.3 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3789, allocations: 323.8 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.379, allocations: 20 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.3791, allocations: 34.06 kB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3792, allocations: 56.08 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3792, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.3795, allocations: 84.19 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3795, allocations: 10.22 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3795, allocations: 0.7031 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3795, allocations: 0 / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.3796, allocations: 16.86 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3796, allocations: 4 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3797, allocations: 5.328 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3797, allocations: 6.188 kB / 0.524 GB, free: 15.65 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 (5): * Single equations (assignments): 5 * 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 8.724e-05/0.3798, allocations: 118.7 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.3798, allocations: 7.297 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3801, allocations: 93.59 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3801, allocations: 1.125 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3801, allocations: 4.797 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3801, allocations: 0 / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.3806, allocations: 358.3 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3806, allocations: 1.312 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.3806, allocations: 11.98 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3806, allocations: 0 / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3807, allocations: 1.734 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3807, allocations: 3.938 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3807, allocations: 5.125 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3809, allocations: 184.7 kB / 0.5247 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.381, allocations: 83.48 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.381, allocations: 1.969 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.3811, allocations: 8.594 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.3811, allocations: 4.734 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3812, allocations: 5.219 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3813, allocations: 103.2 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3813, allocations: 0 / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3815, allocations: 25.23 kB / 0.525 GB, free: 14.78 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 (5): * Single equations (assignments): 5 * 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.001042/0.3826, allocations: 448.4 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3828, allocations: 56.52 kB / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3828, allocations: 0 / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.3829, allocations: 30.73 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3833, allocations: 17.83 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.3837, allocations: 164.2 kB / 0.5256 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.384, allocations: 0.6995 MB / 0.5263 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.3841, allocations: 12.5 kB / 0.5263 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.3842, allocations: 14.98 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.435e-06/0.3842, allocations: 0 / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.004872/0.389, allocations: 1.376 MB / 0.5277 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches