Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002345/0.002345, allocations: 213.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 75.89 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3999, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004064/0.404, allocations: 1.727 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.4064, allocations: 1.021 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.4065, allocations: 1.094 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.4069, allocations: 38.92 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.4073, allocations: 97.78 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.4076, allocations: 79.73 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.4078, allocations: 101.7 kB / 0.5347 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.408, allocations: 18.88 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4081, allocations: 44.14 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.4082, allocations: 38.3 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.4083, allocations: 3.594 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4084, allocations: 40.33 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.4085, allocations: 17.09 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.092e-05/0.4086, allocations: 40.72 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.4088, allocations: 118.5 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.4089, allocations: 0 / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4089, allocations: 0 / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4089, allocations: 5.375 kB / 0.535 GB, free: 11.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007051/0.4096, allocations: 407.9 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.4097, allocations: 9.625 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.4097, allocations: 16.81 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4101, allocations: 212.5 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4101, allocations: 1.75 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4102, allocations: 9.5 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4103, allocations: 54.05 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4104, allocations: 1.375 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4104, allocations: 4 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4104, allocations: 1.375 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.4105, allocations: 17.61 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.4109, allocations: 282.9 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4111, allocations: 65.8 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.4112, allocations: 25.11 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.4113, allocations: 9.344 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.4115, allocations: 65.14 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4115, allocations: 0 / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006818/0.4122, allocations: 169.9 kB / 0.5363 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.4122, allocations: 60.52 kB / 0.5364 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4125, allocations: 181.4 kB / 0.5366 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4125, allocations: 26.8 kB / 0.5366 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4126, allocations: 104.4 kB / 0.5367 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.4127, allocations: 27.95 kB / 0.5367 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.4127, allocations: 28.12 kB / 0.5367 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4129, allocations: 326 kB / 0.537 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.413, allocations: 19.64 kB / 0.5371 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.4131, allocations: 38.73 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4132, allocations: 55.41 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4132, allocations: 0 / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.4134, allocations: 112.2 kB / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4135, allocations: 5.375 kB / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4135, allocations: 0 / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.4135, allocations: 1.188 kB / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4136, allocations: 17.31 kB / 0.5373 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4137, allocations: 8.734 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.4137, allocations: 5.875 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4137, allocations: 3.375 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001261/0.4139, allocations: 122.4 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4139, allocations: 13.25 kB / 0.5374 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.414, allocations: 17.27 kB / 0.5375 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.414, allocations: 5.406 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.414, allocations: 4 kB / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.414, allocations: 5.094 kB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.4146, allocations: 389.4 kB / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4146, allocations: 7.969 kB / 0.5378 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.4146, allocations: 8.219 kB / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4146, allocations: 1.25 kB / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4147, allocations: 9.281 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4147, allocations: 1.062 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4147, allocations: 5.25 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.415, allocations: 203.5 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.415, allocations: 92.62 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.4151, allocations: 5.875 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.4152, allocations: 1.281 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4152, allocations: 11.55 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4152, allocations: 7.125 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.4154, allocations: 136.5 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4154, allocations: 0 / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.4157, allocations: 28.14 kB / 0.5383 GB, free: 8.16 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001289/0.417, allocations: 455.2 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4173, allocations: 62.3 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4173, allocations: 0 / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.4174, allocations: 33.73 kB / 0.5389 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.4178, allocations: 32.2 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.4183, allocations: 253.2 kB / 0.5391 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4187, allocations: 0.7018 MB / 0.5398 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4187, allocations: 19.64 kB / 0.5398 GB, free: 6.938 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4187, allocations: 0 / 0.5398 GB, free: 6.938 MB / 398.1 MB Notification: Performance of Templates: time 0.004326/0.423, allocations: 1.928 MB / 0.5417 GB, free: 5.945 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches