Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 75.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4905, allocations: 62.44 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003345/0.4939, allocations: 1.738 MB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.496, allocations: 1.023 MB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4961, allocations: 0 / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.4966, allocations: 38.77 kB / 0.5338 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.4971, allocations: 99.09 kB / 0.5339 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.4973, allocations: 80.3 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.4976, allocations: 100.9 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.4977, allocations: 10.86 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.4979, allocations: 44.3 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.498, allocations: 42.7 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.498, allocations: 2.75 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4982, allocations: 40.86 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.4982, allocations: 22.8 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.4983, allocations: 35.92 kB / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.4987, allocations: 119.3 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4987, allocations: 1.25 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4987, allocations: 3.938 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4987, allocations: 0 / 0.5344 GB, free: 11.27 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.0007981/0.4995, allocations: 420.5 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4996, allocations: 9.719 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.4996, allocations: 9.969 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.5001, allocations: 213 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.5001, allocations: 5.594 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.5001, allocations: 6.562 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5003, allocations: 53.73 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5004, allocations: 5.25 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5004, allocations: 0 / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5004, allocations: 1.062 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.5005, allocations: 22.55 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.501, allocations: 299.4 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.5012, allocations: 52.53 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.5013, allocations: 21.66 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5013, allocations: 2.062 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.5015, allocations: 72.7 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5015, allocations: 0 / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006317/0.5022, allocations: 171 kB / 0.5357 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.5022, allocations: 52.5 kB / 0.5357 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.5025, allocations: 196.1 kB / 0.5359 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.5025, allocations: 26.73 kB / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.5026, allocations: 101.8 kB / 0.536 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.5026, allocations: 23.12 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.5027, allocations: 32.55 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5029, allocations: 326.2 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.5029, allocations: 18.91 kB / 0.5364 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.503, allocations: 35.92 kB / 0.5365 GB, free: 9.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5031, allocations: 63.23 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5031, allocations: 0 / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.5033, allocations: 112.5 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5034, allocations: 4.594 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5034, allocations: 0 / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5034, allocations: 1.938 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.5035, allocations: 16.81 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5035, allocations: 5.094 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5035, allocations: 9.984 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5036, allocations: 10.19 kB / 0.5367 GB, free: 9.105 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.00011/0.5037, allocations: 123.9 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5037, allocations: 8.844 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.5038, allocations: 22.38 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5038, allocations: 1.438 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5038, allocations: 1.5 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5038, allocations: 3.938 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.5043, allocations: 402.6 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5043, allocations: 0 / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.5043, allocations: 11.09 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5043, allocations: 6.062 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5044, allocations: 8.938 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.5044, allocations: 1.062 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5044, allocations: 1.062 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.5047, allocations: 193.1 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.5048, allocations: 92 kB / 0.5375 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.5048, allocations: 13.44 kB / 0.5375 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.5049, allocations: 1.594 kB / 0.5375 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.5049, allocations: 7.297 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5049, allocations: 2.969 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.5051, allocations: 153.5 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5051, allocations: 0 / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.5054, allocations: 24.22 kB / 0.5377 GB, free: 8.145 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.001326/0.5067, allocations: 469.5 kB / 0.5382 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.5069, allocations: 54.47 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.507, allocations: 0 / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.507, allocations: 34.11 kB / 0.5382 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.5074, allocations: 35.97 kB / 0.5383 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.508, allocations: 231 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5084, allocations: 0.7024 MB / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.5085, allocations: 26.39 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.5085, allocations: 15.22 kB / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5085, allocations: 0 / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of Templates: time 0.005751/0.5143, allocations: 1.728 MB / 0.5409 GB, free: 6.062 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches