Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 197.2 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.452/1.452, 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.2358/0.2358, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 72.11 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3973, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004091/0.4014, allocations: 1.763 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4032, allocations: 1.032 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.4034, allocations: 5.312 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.4037, allocations: 107.6 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.4041, allocations: 124.3 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.4044, allocations: 87.19 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.4046, allocations: 138.2 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4047, allocations: 20.64 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.4049, allocations: 66.22 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.405, allocations: 73.27 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.405, allocations: 5.594 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4052, allocations: 64.7 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.4053, allocations: 35.33 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.4053, allocations: 46.34 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.4056, allocations: 168.9 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4057, allocations: 0 / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4057, allocations: 0 / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4057, allocations: 0 / 0.5347 GB, free: 10.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006821/0.4064, allocations: 454.3 kB / 0.5352 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4064, allocations: 9.562 kB / 0.5352 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4065, allocations: 24.03 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4068, allocations: 229.8 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4069, allocations: 10.86 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.4069, allocations: 8.25 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4071, allocations: 78.16 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4071, allocations: 0 / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4071, allocations: 1.375 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4071, allocations: 1.375 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/0.4072, allocations: 35.22 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.4077, allocations: 330.5 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.408, allocations: 78.98 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.408, allocations: 25.67 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4081, allocations: 5.391 kB / 0.536 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.4082, allocations: 73.77 kB / 0.536 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4082, allocations: 0 / 0.536 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009005/0.4092, allocations: 315.1 kB / 0.5363 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.4092, allocations: 52.53 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.4095, allocations: 255.8 kB / 0.5366 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4095, allocations: 31.64 kB / 0.5366 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.4096, allocations: 116 kB / 0.5368 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.4097, allocations: 49.58 kB / 0.5368 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.4097, allocations: 36.52 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4099, allocations: 327.8 kB / 0.5372 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.41, allocations: 39.83 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.4101, allocations: 57.44 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4103, allocations: 103.2 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4103, allocations: 0 / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002841/0.4106, allocations: 165.8 kB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4106, allocations: 4.781 kB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4106, allocations: 9.078 kB / 0.5375 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4106, allocations: 4.969 kB / 0.5375 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4107, allocations: 29.73 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4108, allocations: 1.969 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.4108, allocations: 5.656 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4108, allocations: 4.688 kB / 0.5376 GB, free: 8.418 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 (16): * Single equations (assignments): 16 * 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.0001393/0.411, allocations: 143.3 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.411, allocations: 15.84 kB / 0.5377 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.4111, allocations: 26.7 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4111, allocations: 5.062 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4111, allocations: 1.219 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.4111, allocations: 0 / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.4118, allocations: 0.5052 MB / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4118, allocations: 0 / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.4119, allocations: 24.39 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4119, allocations: 1.281 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4119, allocations: 3 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4119, allocations: 1.531 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4119, allocations: 1 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.4123, allocations: 264.5 kB / 0.5385 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.4123, allocations: 93.25 kB / 0.5386 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4124, allocations: 5.344 kB / 0.5386 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.4125, allocations: 7.016 kB / 0.5386 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.4125, allocations: 9.234 kB / 0.5386 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.4125, allocations: 9.656 kB / 0.5386 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.4128, allocations: 193 kB / 0.5388 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4128, allocations: 4 kB / 0.5388 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.4131, allocations: 39.67 kB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001243/0.4143, allocations: 0.5032 MB / 0.5394 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.4146, allocations: 106.8 kB / 0.5395 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4146, allocations: 0 / 0.5395 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4147, allocations: 55.03 kB / 0.5395 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.4151, allocations: 41.52 kB / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.4157, allocations: 322.3 kB / 0.5399 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.416, allocations: 0.7291 MB / 0.5406 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.4161, allocations: 28.69 kB / 0.5406 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.4162, allocations: 19.97 kB / 0.5406 GB, free: 6 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4162, allocations: 0 / 0.5406 GB, free: 6 MB / 398.1 MB Notification: Performance of Templates: time 0.005575/0.4218, allocations: 2.254 MB / 0.5428 GB, free: 4.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches