Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110 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.001456/0.001456, allocations: 186.3 kB / 19.38 MB, free: 3.66 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.309/1.309, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2059/0.2059, allocations: 44.17 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4145, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002911/0.4174, allocations: 1.581 MB / 0.5211 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.4182, allocations: 418.6 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.4182, allocations: 4.719 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.4186, allocations: 101.7 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.4188, allocations: 77.97 kB / 0.5217 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.4191, allocations: 109.3 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.4193, allocations: 79.34 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4194, allocations: 19.11 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.4195, allocations: 41.92 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4197, allocations: 69.41 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.4197, allocations: 2.719 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.4198, allocations: 43.7 kB / 0.5221 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.4199, allocations: 26.48 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.4199, allocations: 34.61 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.4201, allocations: 109.3 kB / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4201, allocations: 0 / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4201, allocations: 1.062 kB / 0.5222 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4201, allocations: 0 / 0.5222 GB, free: 1.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004161/0.4206, allocations: 418.9 kB / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4206, allocations: 8.844 kB / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.4206, allocations: 10.16 kB / 0.5226 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4208, allocations: 207.3 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4208, allocations: 5.5 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.4209, allocations: 7.5 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.421, allocations: 60.91 kB / 0.5229 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.421, allocations: 1.656 kB / 0.5229 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.421, allocations: 4.609 kB / 0.5229 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4211, allocations: 5.281 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4212, allocations: 28.81 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.4216, allocations: 309 kB / 0.5232 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4217, allocations: 44.77 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.4217, allocations: 26.94 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4218, allocations: 1.859 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4218, allocations: 36.25 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4218, allocations: 0 / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000859/0.4226, allocations: 236.8 kB / 0.5236 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.4227, allocations: 52.5 kB / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4229, allocations: 242.8 kB / 0.5239 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.4229, allocations: 26.45 kB / 0.5239 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.423, allocations: 115 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.423, allocations: 32.86 kB / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.423, allocations: 20.36 kB / 0.524 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.4231, allocations: 324.6 kB / 0.5244 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.4232, allocations: 29.66 kB / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.4233, allocations: 31.33 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4234, allocations: 75.17 kB / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4235, allocations: 0 / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002375/0.4237, allocations: 110 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4237, allocations: 5.609 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4237, allocations: 1.438 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4238, allocations: 0 / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4239, allocations: 17.12 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4239, allocations: 5.625 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.4239, allocations: 12.53 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4239, allocations: 1.375 kB / 0.5246 GB, free: 15.98 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.0001117/0.4241, allocations: 132.2 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4241, allocations: 15.25 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4244, allocations: 137.5 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4244, allocations: 5.531 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4244, allocations: 3.938 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4244, allocations: 1.125 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.425, allocations: 419.4 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.425, allocations: 5.75 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.4251, allocations: 20.66 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4251, allocations: 0.6094 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4251, allocations: 1.562 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4251, allocations: 2.266 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4251, allocations: 9.328 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4254, allocations: 217 kB / 0.5256 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.4255, allocations: 97.48 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4255, allocations: 2.469 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.4256, allocations: 8.734 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.4256, allocations: 10.08 kB / 0.5257 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4256, allocations: 2.578 kB / 0.5257 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4258, allocations: 188.4 kB / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4258, allocations: 0 / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.426, allocations: 18.38 kB / 0.5259 GB, free: 14.99 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: 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.001032/0.4271, allocations: 462.5 kB / 0.5263 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.4273, allocations: 72.38 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4273, allocations: 0 / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4274, allocations: 42.69 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4278, allocations: 25.12 kB / 0.5264 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.4283, allocations: 316.1 kB / 0.5267 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4287, allocations: 0.7193 MB / 0.5274 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.4287, allocations: 13.31 kB / 0.5275 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4287, allocations: 1.344 kB / 0.5275 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.003862/0.4326, allocations: 1.841 MB / 0.5293 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches