Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.403, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003015/0.4061, allocations: 1.607 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.4077, allocations: 1.163 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.4078, allocations: 1.375 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.408, allocations: 23.92 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.4084, allocations: 85.73 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4088, allocations: 115 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.409, allocations: 62.02 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.4091, allocations: 20.23 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.4092, allocations: 25.48 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.4094, allocations: 42.77 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.4095, allocations: 4.125 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.4097, allocations: 90.81 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.4097, allocations: 20.05 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.4098, allocations: 19.98 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.4101, allocations: 148.2 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4101, allocations: 4 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4102, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4102, allocations: 3.938 kB / 0.5343 GB, free: 11.07 MB / 398.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.0006724/0.4108, allocations: 404.6 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4109, allocations: 9.031 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.411, allocations: 7.922 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.4114, allocations: 193.6 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4114, allocations: 1.5 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.4114, allocations: 2.688 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4116, allocations: 72.88 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4117, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4117, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4117, allocations: 1.219 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4118, allocations: 25.19 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.4123, allocations: 288 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.4125, allocations: 49.53 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.4126, allocations: 23.48 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4126, allocations: 1.344 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4126, allocations: 31.62 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4126, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005768/0.4132, allocations: 162.4 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.4133, allocations: 78.2 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4134, allocations: 141.9 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4135, allocations: 26.8 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.4135, allocations: 95.66 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4136, allocations: 20.86 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.4136, allocations: 23.33 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4137, allocations: 321.2 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.4138, allocations: 19.36 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.4139, allocations: 40.09 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.414, allocations: 51.42 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.414, allocations: 4.031 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.4142, allocations: 87.8 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4143, allocations: 4.781 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4143, allocations: 1.375 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4143, allocations: 0 / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.4144, allocations: 13.2 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4144, allocations: 1.25 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.4144, allocations: 3.594 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4144, allocations: 9 kB / 0.5365 GB, free: 8.992 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.587e-05/0.4145, allocations: 122.2 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.4146, allocations: 11.34 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.4148, allocations: 92.41 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4149, allocations: 1.156 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4149, allocations: 3.938 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4149, allocations: 1 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.4153, allocations: 362.7 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4153, allocations: 5.875 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.4154, allocations: 12.23 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4154, allocations: 1.188 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.4154, allocations: 5.156 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4154, allocations: 3.938 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4154, allocations: 0 / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.4157, allocations: 190.5 kB / 0.5372 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.4158, allocations: 83.72 kB / 0.5373 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.4159, allocations: 5.109 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.4159, allocations: 6.469 kB / 0.5373 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.416, allocations: 6.5 kB / 0.5373 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.416, allocations: 1.344 kB / 0.5373 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4161, allocations: 117.7 kB / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 0 / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.4165, allocations: 43.89 kB / 0.5375 GB, free: 8.02 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.001205/0.4177, allocations: 492.8 kB / 0.538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4179, allocations: 51.17 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4179, allocations: 0 / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.418, allocations: 33.2 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.4183, allocations: 24.41 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.4188, allocations: 167 kB / 0.5382 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.419, allocations: 0.6907 MB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.417e-05/0.4191, allocations: 25.66 kB / 0.5389 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.4192, allocations: 21.83 kB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4192, allocations: 0 / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of Templates: time 0.005293/0.4245, allocations: 1.76 MB / 0.5407 GB, free: 5.934 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches