Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 117.6 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.001152/0.001153, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4033, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003401/0.4068, allocations: 1.738 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4089, allocations: 1.021 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.409, allocations: 1.094 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.4093, allocations: 41.73 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.4097, allocations: 95.25 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4099, allocations: 74.47 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.4101, allocations: 106 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4102, allocations: 11.19 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4103, allocations: 48.47 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.4104, allocations: 28.92 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.4105, allocations: 4.5 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4106, allocations: 44 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.4106, allocations: 21.67 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.4107, allocations: 35.66 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.411, allocations: 125.9 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.411, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.411, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4111, allocations: 0 / 0.5344 GB, free: 11.04 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.0005655/0.4116, allocations: 409.8 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4117, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.4117, allocations: 18.23 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.412, allocations: 203.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4121, allocations: 9.734 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4121, allocations: 6.875 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4122, allocations: 57.98 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4123, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4123, allocations: 4 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4123, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.4124, allocations: 18.98 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.4127, allocations: 281.5 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4129, allocations: 61.81 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.413, allocations: 26.47 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.413, allocations: 3.984 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4132, allocations: 65.14 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4132, allocations: 1.375 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.4137, allocations: 176.8 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4138, allocations: 52.78 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.414, allocations: 189.6 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.414, allocations: 26.73 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.414, allocations: 104.6 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.4141, allocations: 23.78 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.4141, allocations: 24.16 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4143, allocations: 330.1 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.4143, allocations: 18.78 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.4144, allocations: 39.58 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.4145, allocations: 59.17 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4145, allocations: 384 / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002747/0.4148, allocations: 103.5 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4149, allocations: 5.625 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4149, allocations: 1.531 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4149, allocations: 7.938 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.415, allocations: 17.23 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.415, allocations: 5.156 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.4151, allocations: 6.094 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4151, allocations: 2.594 kB / 0.5366 GB, free: 8.891 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.0001095/0.4152, allocations: 131.4 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4152, allocations: 11.97 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.4153, allocations: 18.08 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4153, allocations: 1 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4153, allocations: 1.156 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4153, allocations: 3.938 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.4158, allocations: 393.4 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4158, allocations: 1.156 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.4158, allocations: 7.656 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4158, allocations: 1.188 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4158, allocations: 13.17 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4158, allocations: 1.062 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4158, allocations: 0 / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4161, allocations: 208.6 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.4161, allocations: 88.27 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4162, allocations: 5.188 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.4162, allocations: 10.17 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.4163, allocations: 3.406 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.4163, allocations: 3.625 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.4164, allocations: 139.8 kB / 0.5376 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4165, allocations: 4 kB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.4167, allocations: 24.38 kB / 0.5377 GB, free: 7.93 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.001065/0.4178, allocations: 451.8 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.418, allocations: 66.41 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.418, allocations: 0 / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.4181, allocations: 33.33 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.4185, allocations: 25.2 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.419, allocations: 221.8 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.4193, allocations: 0.7048 MB / 0.5391 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.4193, allocations: 15.66 kB / 0.5391 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.4194, allocations: 18.2 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4194, allocations: 0 / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of Templates: time 0.00514/0.4245, allocations: 1.732 MB / 0.5408 GB, free: 5.859 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches