Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001287/0.001287, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2131/0.2131, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.374, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002926/0.377, allocations: 1.577 MB / 0.5204 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3785, allocations: 1.027 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3786, allocations: 5.281 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3789, allocations: 16.55 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.3792, allocations: 45.25 kB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.3795, allocations: 107.7 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3797, allocations: 59.41 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3798, allocations: 12.94 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.3799, allocations: 27.27 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3801, allocations: 28.56 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.3801, allocations: 3.438 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3802, allocations: 46.72 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.3803, allocations: 13 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3803, allocations: 24.61 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.3806, allocations: 87.2 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3806, allocations: 0 / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.3806, allocations: 0.6094 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.3806, allocations: 1.062 kB / 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.0004565/0.381, allocations: 372.9 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3811, allocations: 10.75 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3812, allocations: 16.25 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3813, allocations: 187 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3814, allocations: 1.438 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3814, allocations: 6.562 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3816, allocations: 70.58 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3816, allocations: 1.844 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3816, allocations: 0 / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3816, allocations: 4.594 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3817, allocations: 23.86 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3821, allocations: 282.7 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3823, allocations: 42.09 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.3824, allocations: 23.33 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3824, allocations: 0 / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3824, allocations: 36.58 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3825, allocations: 0 / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005979/0.3831, allocations: 154.3 kB / 0.5231 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3831, allocations: 78.55 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3832, allocations: 131.2 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3833, allocations: 27.86 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.3833, allocations: 88.47 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3833, allocations: 18.67 kB / 0.5234 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.3834, allocations: 24.33 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3835, allocations: 322.2 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.3836, allocations: 20.17 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.3837, allocations: 34.06 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3839, allocations: 51.61 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3839, allocations: 4.031 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002093/0.3841, allocations: 89.31 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3842, allocations: 8.75 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3842, allocations: 1.797 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3842, allocations: 0 / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.3843, allocations: 12.2 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3843, allocations: 1.156 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.3843, allocations: 5.578 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.3843, allocations: 9.031 kB / 0.524 GB, free: 15.66 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 0.0001046/0.3845, allocations: 119.8 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3845, allocations: 7.156 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.3848, allocations: 96.36 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3848, allocations: 1.062 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3848, allocations: 1.891 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3848, allocations: 0 / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.3853, allocations: 358.8 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3853, allocations: 0 / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.3854, allocations: 15.42 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3854, allocations: 1.281 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3854, allocations: 1.891 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3854, allocations: 3.938 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3854, allocations: 0 / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3856, allocations: 187.8 kB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3857, allocations: 77.11 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3857, allocations: 1.953 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3858, allocations: 8.453 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3858, allocations: 4.062 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3859, allocations: 2.797 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.3859, allocations: 106.8 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.386, allocations: 0 / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3862, allocations: 24.2 kB / 0.5249 GB, free: 14.79 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.3873, allocations: 451.5 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3875, allocations: 56.83 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3875, allocations: 0 / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.3876, allocations: 30.7 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.388, allocations: 13.45 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.3884, allocations: 168.4 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3887, allocations: 0.6923 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.3888, allocations: 17.59 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.3888, allocations: 18.09 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3888, allocations: 0 / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.004568/0.3934, allocations: 1.38 MB / 0.5277 GB, free: 13.33 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches